-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
454c4ef
commit a11e011
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Linux-clang | ||
|
||
on: | ||
push: | ||
branches: [ "main", "dev" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
|
||
steps: | ||
- name: Installation | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev p7zip gobjc clang-14 wget | ||
clang-14 -v | ||
export CXX=clang-14 | ||
export CC=clang-14 | ||
wget https://github.com/xmake-io/xmake/releases/download/v2.8.1/xmake-v2.8.1.xz.run | ||
chmod 777 xmake-v2.8.1.xz.run > a.txt | ||
./xmake-v2.8.1.xz.run | ||
export XMAKE_ROOT="y" | ||
source ~/.xmake/profile | ||
xmake --version | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: build | ||
run: | | ||
export XMAKE_ROOT="y" | ||
source ~/.xmake/profile | ||
clang-14 -v | ||
export CXX=clang-14 | ||
export CC=clang-14 | ||
xmake build -y | ||
xmake install -o . | ||
ldd ./bin/cpp-freegpt-webui |
2 changes: 1 addition & 1 deletion
2
.github/workflows/ubuntu.yaml → .github/workflows/ubuntu-gcc13.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Linux | ||
name: Linux-gcc13 | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters