-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build
- Loading branch information
Showing
33 changed files
with
107 additions
and
64 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 |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
name: Build on aarch64 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/run-on-arch-action@v2.1.1 | ||
- uses: uraimo/run-on-arch-action@v2.8.1 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: aarch64 | ||
distro: ubuntu20.04 | ||
distro: ubuntu22.04 | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
name: Build on armv6 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/run-on-arch-action@v2.1.1 | ||
- uses: uraimo/run-on-arch-action@v2.8.1 | ||
name: Build artifact | ||
id: build | ||
with: | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
name: Build on armv7 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/run-on-arch-action@v2.1.1 | ||
- uses: uraimo/run-on-arch-action@v2.8.1 | ||
name: Build artifact | ||
id: build | ||
with: | ||
|
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 |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
name: Build on ppc64le | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/run-on-arch-action@v2.1.1 | ||
- uses: uraimo/run-on-arch-action@v2.8.1 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: ppc64le | ||
distro: ubuntu20.04 | ||
distro: ubuntu22.04 | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
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 |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
name: Build on riscv64 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/run-on-arch-action@v2.5.1 | ||
- uses: uraimo/run-on-arch-action@v2.8.1 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: riscv64 | ||
distro: ubuntu20.04 | ||
distro: ubuntu22.04 | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
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 |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
name: Build on s390x | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/run-on-arch-action@v2.1.1 | ||
- uses: uraimo/run-on-arch-action@v2.8.1 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: s390x | ||
distro: ubuntu20.04 | ||
distro: ubuntu22.04 | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
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 |
---|---|---|
|
@@ -17,23 +17,18 @@ on: | |
|
||
jobs: | ||
ubuntu: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
if: | | ||
(github.event_name == 'pull_request') || | ||
(github.event_name == 'push') || | ||
(github.event_name == 'workflow_dispatch' || | ||
(github.event_name == 'schedule' && github.repository == 'tezc/sc')) && !contains(github.event.inputs.skip, 'ubuntu') | ||
name: Build on Ubuntu | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
compiler: [ gcc, clang ] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: build | ||
env: | ||
CC: ${{ matrix.compiler }} | ||
CC: gcc | ||
run: | | ||
sudo apt update | ||
sudo apt-get install valgrind cmake | ||
|
@@ -50,6 +45,31 @@ jobs: | |
make -j | ||
make valgrind | ||
ubuntu-clang: | ||
runs-on: ubuntu-22.04 | ||
if: | | ||
(github.event_name == 'pull_request') || | ||
(github.event_name == 'push') || | ||
(github.event_name == 'workflow_dispatch' || | ||
(github.event_name == 'schedule' && github.repository == 'tezc/sc')) && !contains(github.event.inputs.skip, 'ubuntu') | ||
name: Build on Ubuntu | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: build | ||
env: | ||
CC: clang | ||
run: | | ||
sudo apt update | ||
sudo apt-get install valgrind cmake | ||
mkdir build-debug && cd build-debug | ||
cmake .. -DSANITIZER=address | ||
make -j | ||
make check | ||
rm -rf * | ||
cmake .. -DSANITIZER=undefined | ||
make -j | ||
make check | ||
ubuntu-gcc-thread: | ||
runs-on: ubuntu-latest | ||
if: | | ||
|
@@ -145,7 +165,7 @@ jobs: | |
sudo apt update | ||
sudo apt-get install cmake curl tar wine | ||
mkdir build-debug && cd build-debug | ||
export ZIG=zig-linux-x86_64-0.12.0-dev.1834+f36ac227b | ||
export ZIG=zig-linux-x86_64-0.14.0-dev.3222+8a3aebaee | ||
curl -o zig.tar.xz "https://ziglang.org/builds/$ZIG.tar.xz" | ||
tar -xf zig.tar.xz | ||
export CC="$(pwd)/$ZIG/zig cc -target x86_64-windows" | ||
|
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.