Skip to content

Commit d663b16

Browse files
committed
CI: removed android builds for now and fixed artifact names
1 parent be12733 commit d663b16

File tree

1 file changed

+9
-34
lines changed

1 file changed

+9
-34
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Upload the caveexpress artifacts
2424
uses: actions/upload-artifact@v4
2525
with:
26-
name: caveexpress
26+
name: mac-caveexpress
2727
path: "build/caveexpress dev.dmg"
2828

2929
linux:
@@ -72,13 +72,13 @@ jobs:
7272
- name: Upload the cavepacker artifacts
7373
uses: actions/upload-artifact@v4
7474
with:
75-
name: cavepacker
75+
name: win-cavepacker
7676
path: build/install-cavepacker
7777

7878
- name: Upload the caveexpress artifacts
7979
uses: actions/upload-artifact@v4
8080
with:
81-
name: caveexpress
81+
name: win-caveexpress
8282
path: build/install-caveexpress
8383

8484
emscripten:
@@ -113,39 +113,14 @@ jobs:
113113
emcmake cmake -H. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DUNITTESTS=OFF -DTOOLS=OFF
114114
cmake --build build --target caveexpress
115115
116-
- name: Upload the build artifacts
116+
- name: Upload the build artifacts for caveexpress
117117
uses: actions/upload-artifact@v4
118118
with:
119-
name: emscripten
119+
name: html5-caveexpress
120120
path: caveexpress.*
121121

122-
android:
123-
runs-on: ubuntu-latest
124-
steps:
125-
- uses: actions/checkout@v4
126-
- uses: seanmiddleditch/gha-setup-ninja@master
127-
- uses: nttld/setup-ndk@v1
128-
id: setup-ndk
129-
with:
130-
local-cache: true
131-
ndk-version: r21e
132-
- uses: actions/setup-java@v4
122+
- name: Upload the build artifacts for cavepacker
123+
uses: actions/upload-artifact@v4
133124
with:
134-
distribution: 'temurin'
135-
java-version: '17'
136-
- name: 'Configure Android NDK variables'
137-
shell: sh
138-
run: |
139-
# We cannot use GitHub expressions in the controller job
140-
echo "ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }}" >>$GITHUB_ENV
141-
142-
- name: Setup Android SDK
143-
uses: android-actions/setup-android@v3
144-
145-
- name: Build
146-
run: |
147-
mkdir build
148-
cd build
149-
cmake --version
150-
cmake .. -DCMAKE_BUILD_TYPE=Release -DTOOLS=OFF -DUNITTESTS=OFF -DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchains/android-toolchain.cmake
151-
cmake --build .
125+
name: html5-cavepacker
126+
path: cavepacker.*

0 commit comments

Comments
 (0)