diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index d226d7ad4..317757aaf 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -123,9 +123,6 @@ jobs: submodules: 'recursive' - run: pacman -S --noconfirm mingw-w64-x86_64-gcc mingw-w64-x86_64-freetype mingw-w64-x86_64-pkg-config make mingw-w64-x86_64-python3 mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-libpng - run: make -j2 PLATFORM=simulator - - run: make -j2 PLATFORM=simulator epsilon.official.exe - - run: make -j2 PLATFORM=simulator test.headless.exe - - run: output/release/simulator/windows/test.headless.exe - uses: actions/upload-artifact@master with: name: epsilon-windows.exe @@ -156,7 +153,6 @@ jobs: with: name: epsilon-linux.bin path: output/release/simulator/linux/epsilon.bin - - run: make -j2 PLATFORM=simulator test.headless.bin macos: if: github.event.inputs.triggerMacos == 'yes' runs-on: macOS-latest @@ -166,9 +162,6 @@ jobs: with: submodules: 'recursive' - run: make -j2 PLATFORM=simulator - - run: make -j2 PLATFORM=simulator epsilon.official.app - - run: make -j2 PLATFORM=simulator ARCH=x86_64 test.headless.bin - - run: output/release/simulator/macos/x86_64/test.headless.bin - uses: actions/upload-artifact@master with: name: epsilon-macos.zip @@ -182,8 +175,6 @@ jobs: with: submodules: 'recursive' - run: make -j2 PLATFORM=simulator TARGET=ios EPSILON_TELEMETRY=0 - - run: make -j2 PLATFORM=simulator TARGET=ios EPSILON_TELEMETRY=0 epsilon.official.ipa - - run: make -j2 PLATFORM=simulator TARGET=ios EPSILON_TELEMETRY=0 test.ipa - run: make -j2 PLATFORM=simulator TARGET=ios EPSILON_TELEMETRY=0 APPLE_PLATFORM=ios-simulator - uses: actions/upload-artifact@master with: diff --git a/.github/workflows/unit-workflow.yml b/.github/workflows/unit-workflow.yml new file mode 100644 index 000000000..e4076aa63 --- /dev/null +++ b/.github/workflows/unit-workflow.yml @@ -0,0 +1,14 @@ +name: Unit tests +on: [pull_request_target] + +jobs: + units: + runs-on: ubuntu-latest + steps: + - run: sudo apt-get install build-essential imagemagick libfreetype6-dev libjpeg-dev libpng-dev pkg-config + - uses: actions/checkout@v2 + with: + submodules: 'recursive' + - run: make -j2 PLATFORM=simulator test.headless.bin + - run: output/release/simulator/linux/test.headless.bin +