fixes for CI #2
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: Yasboot - System Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
execute_system_tests: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/matgla/yasboot:1.6 | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install packages | |
shell: bash | |
run: | | |
apt update && apt install -y libfl-dev | |
- name: Prepare Yasboot project | |
shell: bash | |
run: | | |
mkdir build | |
- name: Generate CMake project | |
shell: bash | |
working-directory: build | |
run: | | |
cmake .. -DUSE_CONFIG=mspc -DCMAKE_BUILD_TYPE=Debug -GNinja -DYASPEM_NO_COMPATIBILITY_CHECK=ON | |
- name: Execute tests | |
shell: bash | |
working-directory: build | |
run: | |
ninja test | |