Skip to content

Commit 4c04cbc

Browse files
committed
release workflow enable macos test, disable windows
1 parent ce75471 commit 4c04cbc

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/release.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -137,25 +137,24 @@ jobs:
137137
- name: Run tests
138138
run: mvn test
139139

140-
# disabled for now, we don't have access to a macos arm64 runner and testing on x86_64 doesn't work
141-
# test-macos:
142-
# name: Test Mac
143-
# needs: build-macos-native
144-
# runs-on: macos-latest
145-
# steps:
146-
# - uses: actions/checkout@v4
147-
# - uses: actions/download-artifact@v3
148-
# with:
149-
# name: artifacts
150-
# path: ${{ github.workspace }}/src/main/resources/de/kherud/llama/
151-
# - name: Download model
152-
# run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
153-
# - uses: actions/setup-java@v4
154-
# with:
155-
# distribution: 'zulu'
156-
# java-version: '11'
157-
# - name: Run tests
158-
# run: mvn test
140+
test-macos:
141+
name: Test Mac
142+
needs: build-macos-native
143+
runs-on: macos-14
144+
steps:
145+
- uses: actions/checkout@v4
146+
- uses: actions/download-artifact@v3
147+
with:
148+
name: artifacts
149+
path: ${{ github.workspace }}/src/main/resources/de/kherud/llama/
150+
- name: Download model
151+
run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
152+
- uses: actions/setup-java@v4
153+
with:
154+
distribution: 'zulu'
155+
java-version: '11'
156+
- name: Run tests
157+
run: mvn test
159158

160159

161160
test-windows:

0 commit comments

Comments
 (0)