Skip to content

Commit

Permalink
test both ubuntu and arch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 committed Dec 22, 2024
1 parent 9306d3b commit 7f304f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-ubuntu-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# - ubuntu-2204
# - ubuntu-2404
# - debian
# - archlinux
- archlinux
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
12 changes: 9 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ fi

export VCPKG_DISABLE_METRICS=1

export CC=/usr/bin/clang
export CPP=/usr/bin/clang-cpp
export CXX=/usr/bin/clang++
if which clang++ >& /dev/null; then
export CC=/usr/bin/clang
export CPP=/usr/bin/clang-cpp
export CXX=/usr/bin/clang++
else
export CC=/usr/bin/clang-15
export CPP=/usr/bin/clang-cpp-15
export CXX=/usr/bin/clang++-15
fi
# export LD=/usr/bin/ld.lld-15

# export CMAKE_C_COMPILER="$CC"
Expand Down

0 comments on commit 7f304f4

Please sign in to comment.