Skip to content

Commit

Permalink
Use self-hosted runner again
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Oct 5, 2024
1 parent af0236e commit a2d949c
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/ios-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
ios-build:
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: macos-14-xlarge
runs-on: [self-hosted, macOS, ARM64]
concurrency:
# cancel jobs on PRs only
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -83,25 +83,6 @@ jobs:
${{ runner.os }}-bazel-
path: ~/.cache/bazel

- name: Import self-signed certificate
run: |
private_key="$PWD"/codesign/MapLibre.p12
cert="$PWD"/codesign/MapLibre.cer
# keychain_path=~/Desktop/app-signing.keychain-db
# keychain_password=""
p12_password="maplibre"
# security create-keychain -p "$keychain_password" "$keychain_path"
# security set-keychain-settings -lut 21600 "$keychain_path"
# security unlock-keychain -p "$keychain_password" "$keychain_path"
security unlock-keychain
security import "$private_key" -P "$p12_password" -T /usr/bin/codesign -T /usr/bin/security
security import "$cert" -T /usr/bin/codesign -T /usr/bin/security
# security set-key-partition-list -S apple-tool:,apple: -k "" "$keychain_path"
# security find-certificate -c "MapLibre" -a -Z "$keychain_path"
# security add-trusted-cert -d -r trustRoot -k "$keychain_path" -p basic -p codeSign "$cert"
- name: Create Bazel config
working-directory: platform/darwin
run: |
Expand Down

0 comments on commit a2d949c

Please sign in to comment.