feat: Upgrading the Zork++ config to std C++23 #95
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
name: Tests for the project | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
tests: | |
name: Running the tests for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { os: ubuntu-latest } | |
# - { os: macos-latest } | |
# - { os: windows-latest } | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clone Zork++ | |
uses: GuillaumeFalourd/[email protected] | |
with: | |
owner: 'ZeroDayCode' | |
repository: 'Zork' | |
branch: 'feature/GH-127-clang-upgrades' | |
- name: Download the latest possible version of Clang | |
run: | | |
sudo apt update | |
sudo apt install clang-19 --install-suggests | |
sudo apt install libc++-19-dev libc++abi-19-dev | |
- name: Generate a Zork++ release build | |
run: | | |
cd ./Zork/zork++ | |
cargo build --release | |
cd ../.. | |
mv ./Zork/zork++/target/release/zork ./Zork/zork++/target/release/zork++ | |
cp ./Zork/zork++/target/release/zork++ . | |
- name: Running the tests for ${{ matrix.os }} with Zork++ | |
run: ./zork++ --match-files gh_linux -vv -c test |