Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release-flow not including generated texture file on MacOS #28

Open
bbarker opened this issue Dec 11, 2023 · 1 comment
Open

Release-flow not including generated texture file on MacOS #28

bbarker opened this issue Dec 11, 2023 · 1 comment
Labels
bug Something isn't working ci macos

Comments

@bbarker
Copy link
Owner

bbarker commented Dec 11, 2023

The file in question is:

assets/textures/tile_textures.png

It seems to be included in other platforms.

The excerpt looks correct to me in release.yaml:

      - name: Create Universal Binary
        run: |
          # lipo -create -output target/release/${{ env.GAME_EXECUTABLE_NAME }} target/aarch64-apple-darwin/release/${{ env.GAME_EXECUTABLE_NAME }} target/x86_64-apple-darwin/release/${{ env.GAME_EXECUTABLE_NAME }}
          lipo -create -output target/debug/${{ env.GAME_EXECUTABLE_NAME }} target/aarch64-apple-darwin/debug/${{ env.GAME_EXECUTABLE_NAME }} target/x86_64-apple-darwin/debug/${{ env.GAME_EXECUTABLE_NAME }}
      - name: Create release
        run: |
          mkdir -p build/macos/src/Game.app/Contents/MacOS/assets
          cp -r assets/ build/macos/src/Game.app/Contents/MacOS/assets
          cp -r credits/ build/macos/src/Game.app/Contents/MacOS/credits
@bbarker bbarker added bug Something isn't working macos ci labels Dec 11, 2023
@bbarker
Copy link
Owner Author

bbarker commented Dec 11, 2023

could be worth checking the file permissions - first locally on MacOS, and if that doesn't look strange, on CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci macos
Projects
None yet
Development

No branches or pull requests

1 participant