From 63d91d7ec818bdd8579322e105903b7d4dc29c59 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sat, 14 Sep 2024 16:20:12 +0100 Subject: [PATCH] Add native ci workflow - Essentially this is a workflow acting as a placeholder for doing further native development as it's easier to have on in a main branch. - Should eventually grow into one user can run manually for ffm development if it's required to build something on a gh platform. --- .github/workflows/ci-native.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci-native.yml diff --git a/.github/workflows/ci-native.yml b/.github/workflows/ci-native.yml new file mode 100644 index 00000000..8213d543 --- /dev/null +++ b/.github/workflows/ci-native.yml @@ -0,0 +1,34 @@ +name: CI Native + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + include: + - nickname: linux jdk17 + java: 17 + os: ubuntu-latest + - nickname: macos jdk17 + java: 17 + os: macos-latest + - nickname: windows jdk17 + java: 17 + os: windows-latest + name: CI Build ${{ matrix.nickname }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: adopt + java-version: | + 22 + 17 + cache: gradle + - name: Build + run: ./gradlew build +