Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Oct 29, 2023
1 parent 98ea82a commit 8cedb4d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 20 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/android_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,17 @@ jobs:
distribution: temurin
java-version: 11

- name: Build ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Build ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/build
with:
sconsflags: ${{ env.SCONSFLAGS }}
arch: ${{ matrix.arch.arch }}
rust_target: ${{ matrix.arch.rust }}
platform: android
target: ${{ matrix.target }}
precision: ${{ matrix.precision }}
features: ${{ matrix.features }}

- name: Upload ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Upload ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/upload
with:
precision: ${{ matrix.precision }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ios_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ jobs:
with:
submodules: true
fetch-depth: 0
- name: Build ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Build ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/build
with:
sconsflags: ${{ env.SCONSFLAGS }}
arch: ${{ matrix.arch.arch }}
rust_target: ${{ matrix.arch.rust }}
platform: ios
target: ${{ matrix.target }}
precision: ${{ matrix.precision }}
features: ${{ matrix.features }}

- name: Upload ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Upload ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/upload
with:
precision: ${{ matrix.precision }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/linux_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,17 @@ jobs:
submodules: true
fetch-depth: 0

- name: Build ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Build ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/build
with:
sconsflags: ${{ env.SCONSFLAGS }}
arch: ${{ matrix.arch.arch }}
rust_target: ${{ matrix.arch.rust }}
platform: linux
target: ${{ matrix.target }}
precision: ${{ matrix.precision }}
features: ${{ matrix.features }}

- name: Upload ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Upload ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/upload
with:
precision: ${{ matrix.precision }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/macos_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@ jobs:
submodules: true
fetch-depth: 0

- name: Build ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Build {{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/build
with:
sconsflags: ${{ env.SCONSFLAGS }}
arch: ${{ matrix.arch.arch }}
rust_target: ${{ matrix.arch.rust }}
platform: macos
target: ${{ matrix.target }}
precision: ${{ matrix.precision }}
features: ${{ matrix.features }}

- name: Sign frameworks ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Sign frameworks ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
shell: pwsh
env:
APPLE_CERT_BASE64: ${{ secrets.PROD_MACOS_CERTIFICATE }}
Expand All @@ -44,10 +43,12 @@ jobs:
APPLE_DEV_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}
APPLE_DEV_PASSWORD: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }}
APPLE_DEV_APP_ID: ${{ secrets.PROD_MACOS_APPLE_DEV_APP_ID }}
run: ./scripts/ci-sign-macos.ps1 bin/addons/godot-rapier2d/bin/libphysics_server_rapier2d.macos.${{ matrix.target }}.framework
run: |
./scripts/ci-sign-macos.ps1 bin/addons/godot-rapier2d/bin/libphysics_server_rapier2d.macos.template_debug.framework
./scripts/ci-sign-macos.ps1 bin/addons/godot-rapier2d/bin/libphysics_server_rapier2d.macos.template_release.framework
if: ${{ env.APPLE_DEV_ID }}

- name: Upload ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Upload {{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/upload
with:
precision: ${{ matrix.precision }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/web_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,17 @@ jobs:
run: |
emcc -v
- name: Build ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Build ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/build
with:
sconsflags: ${{ env.SCONSFLAGS }}
arch: ${{ matrix.arch.arch }}
rust_target: ${{ matrix.arch.rust }}
platform: web
target: ${{ matrix.target }}
precision: ${{ matrix.precision }}
features: ${{ matrix.features }},wasm-bindgen

- name: Upload ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Upload ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/upload
with:
precision: ${{ matrix.precision }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@ jobs:
- name: Setup MSVC problem matcher
uses: ammaraskar/msvc-problem-matcher@master

- name: Build ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Build ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/build
with:
sconsflags: ${{ env.SCONSFLAGS }}
arch: ${{ matrix.arch.arch }}
rust_target: ${{ matrix.arch.rust }}
platform: windows
target: ${{ matrix.target }}
precision: ${{ matrix.precision }}
features: ${{ matrix.features }}

- name: Upload ${{ matrix.target }} ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
- name: Upload ${{ matrix.arch.arch }} ${{ matrix.precision }} ${{ matrix.features }}
uses: ./.github/actions/upload
with:
precision: ${{ matrix.precision }}
Expand Down

0 comments on commit 8cedb4d

Please sign in to comment.