diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b73d9220..ba08e897 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -14,16 +14,9 @@ jobs: opt-level: ['-O0', '-O1', '-O2', '-O3'] steps: - uses: actions/checkout@v3 - - run: brew install bash diffutils llvm@{13,14} + - run: brew install bash diffutils llvm@14 - - name: Compile with LLVM 13 - run: LLVM_CONFIG=/usr/local/opt/llvm@13/bin/llvm-config make - - run: ./runtests.sh --verbose --jou-flags "${{ matrix.opt-level }}" - - run: ./runtests.sh --verbose --jou-flags "${{ matrix.opt-level }} --verbose" - - run: make clean - - - name: Compile with LLVM 14 - run: LLVM_CONFIG=/usr/local/opt/llvm@14/bin/llvm-config make + - run: make - run: ./runtests.sh --verbose --jou-flags "${{ matrix.opt-level }}" - run: ./runtests.sh --verbose --jou-flags "${{ matrix.opt-level }} --verbose" - run: make clean @@ -41,19 +34,13 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - run: brew install bash diffutils llvm@{13,14} - - - run: LLVM_CONFIG=/usr/local/opt/llvm@13/bin/llvm-config ./doctest.sh - - run: make clean - - run: LLVM_CONFIG=/usr/local/opt/llvm@14/bin/llvm-config ./doctest.sh + - run: brew install bash diffutils llvm@14 + - run: ./doctest.sh compare-compilers: runs-on: macos-latest timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - run: brew install bash diffutils llvm@{13,14} - - - run: LLVM_CONFIG=/usr/local/opt/llvm@13/bin/llvm-config ./compare_compilers.sh - - run: make clean - - run: LLVM_CONFIG=/usr/local/opt/llvm@14/bin/llvm-config ./compare_compilers.sh + - run: brew install bash diffutils llvm@14 + - run: ./compare_compilers.sh