Skip to content

Commit

Permalink
Trying to debug windows ci 11
Browse files Browse the repository at this point in the history
Bench: 2134743
  • Loading branch information
SzilBalazs committed Aug 17, 2023
1 parent 241a36c commit c01a86d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,36 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
arch: [popcnt, avx2, bmi2]
compiler: [g++, clang++]
include:
- os: ubuntu-latest
suffix: "-linux"
compiler: [g++, clang++]
packages: |
sudo apt-get update
sudo apt-get install -y valgrind clang-15 g++-multilib
- os: windows-latest
compiler: [g++, clang-cl]
suffix: "-win"
exe-suffix: ".exe"

steps:
- uses: actions/checkout@v3

- name: Set compiler
run: |
if [[ "${{ runner.os }}" == "Windows" && "${{ matrix.compiler }}" == 'clang++' ]]; then
echo 'COMPILER=clang-cl' >> $GITHUB_ENV
else
echo "COMPILER=${{ matrix.compiler }}" >> $GITHUB_ENV
fi
- name: Install required packages
if: matrix.os == 'ubuntu-latest'
run: ${{ matrix.packages }}

- name: Build WhiteCore
run: |
${{matrix.compiler}} --version
make EXE=WhiteCore-${{matrix.arch}}${{matrix.suffix}} ARCH=${{matrix.arch}} CXX=${{matrix.compiler}} build=debug
$COMPILER --version
make EXE=WhiteCore-${{matrix.arch}}${{matrix.suffix}} ARCH=${{matrix.arch}} CXX=$COMPILER build=debug
- name: Run tests
run: ./WhiteCore-${{matrix.arch}}${{matrix.suffix}} test
Expand Down

0 comments on commit c01a86d

Please sign in to comment.