diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f789c40e..aea841fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,12 +2,14 @@ name: CI on: push: - branches: [ master ] + branches: [ master, use-fptest ] pull_request: branches: [ master ] jobs: macos-11-big-sur: + # skip job temporarily + if: false runs-on: macos-11 steps: - name: Install FPC @@ -112,25 +114,18 @@ jobs: verbosity: ewnh - name: Install SDL2 library run: sudo apt-get install libsdl2-dev - - name: Test 1 - Compile Init Test + - name: Compile SDL2-for-Pascal Test Framework (fptest) and Test Cases uses: suve/GHActions-FPC@v0.4.0 with: - source: tests/testinit.pas + source: tests/sdl2forpascaltests.pas + flags: Fuunits Futests/fptest/src Futests/fptest/3rdparty/epiktimer verbosity: ewnh - - name: Test 1 - Run Init Test + - name: Run SDL2-for-Pascal Tests run: | - mkdir ~/tmp - export XDG_RUNTIME_DIR=~/tmp - ./tests/testinit - - name: Test 2 - Compile Version Test - uses: suve/GHActions-FPC@v0.4.0 - with: - source: tests/testversion.pas - verbosity: ewnh - - name: Test 2 - Run Version Test - run: | - ./tests/testversion + ./tests/sdl2forpascaltests windows-2022: + # skip job temporarily + if: false runs-on: windows-2022 steps: - name: Install Lazarus