Skip to content

Commit

Permalink
build: update build script / workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Nov 19, 2023
1 parent 6fe969b commit a75ece8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .docker/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ esac

case "-$BUILD_TYPE-" in
*-gcc-*)
export CC=gcc CXX=g++
export CC=gcc-13 CXX=g++-13
;;
*-clang-*)
export CC=clang CXX=clang++
;;
*-gcc12-*)
*-oldgcc-*)
export CC=gcc-12 CXX=g++-12
;;
*-clang15-*)
export CC=clang-15 CXX=clang++-15
*-clang-*)
export CC=clang-17 CXX=clang++-17
;;
*-oldclang-*)
export CC=clang-16 CXX=clang++-16
;;
*)
echo "missing compiler in: $BUILD_TYPE"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@ jobs:
- arm64v8
build_type:
- gcc-debug-make
- gcc12-debug-ninja
- gcc12-release-ninja
- clang15-release-ninja
- clang15-release-ninja-static
- oldgcc-debug-ninja
- oldgcc-release-ninja
- oldclang-release-ninja
- oldclang-release-ninja-static
include:
- arch: amd64
build_type: clang15-asan-ninja
build_type: oldclang-asan-ninja
- arch: amd64
build_type: clang15-tsan-ninja
build_type: oldclang-tsan-ninja
- arch: amd64
build_type: clang15-ubsan-ninja
build_type: oldclang-ubsan-ninja
- arch: amd64
build_type: gcc12-debug-noperfmon-ninja
build_type: oldgcc-debug-noperfmon-ninja

runs-on:
- self-hosted
Expand Down

0 comments on commit a75ece8

Please sign in to comment.