Skip to content

Commit

Permalink
fix(ci): macos-arm64-build
Browse files Browse the repository at this point in the history
  • Loading branch information
codeflorist authored Nov 21, 2024
1 parent 6696dcf commit a04a1c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/macos-arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ jobs:
- name: Bundle libs
run: ./scripts/bundle-libs-macos.sh

- name: Move data-directories to app-folder
run: mv ./dist/data ./dist/campaign ./dist/gfx ./dist/music ./dist/dunedynasty.app/Contents/MacOS

- name: Copy OS specific files
run: cp -r ./dist-os-specific/macos/* ./dist
run: cp -rf ./dist-os-specific/macos/* ./dist

- name: Test executable
run: |
brew uninstall --force --ignore-dependencies argtable sdl2 dumb libogg flac libpng freetype libvorbis ca-certificates openssl@3 opus opusfile physfs theora giflib jpeg-turbo xz lz4 zstd libtiff webp pcre2 gettext glib lame mpg123 libsndfile portaudio readline allegro fluid-synth mad enet
cd dist
cd dist/dunedynasty.app/Contents/MacOS
./dunedynasty | grep "data directory"
- name: Zip dist folder
Expand Down

0 comments on commit a04a1c4

Please sign in to comment.