Skip to content

update workflow checkout and upload-artifact actions #18

update workflow checkout and upload-artifact actions

update workflow checkout and upload-artifact actions #18

name: kape_macos_split_tunnel
on:
push:
jobs:
build_and_sign_PIA:
permissions:
contents: read
packages: read
uses: ./.github/workflows/build_and_sign.yml
secrets:
APPLE_CLI_PROVISIONING_PROFILE_BASE64: ${{ secrets.PIA_APPLE_CLI_PROVISIONING_PROFILE_BASE64 }}
APPLE_DEVELOPER_ID_CERT_BASE64: ${{ secrets.PIA_APPLE_DEVELOPER_ID_CERT_BASE64 }}
APPLE_DEVELOPER_ID_PASSWORD: ${{ secrets.PIA_APPLE_DEVELOPER_ID_PASSWORD }}
APPLE_NOTARIZATION_EMAIL: ${{ secrets.PIA_APPLE_NOTARIZATION_EMAIL }}
APPLE_NOTARIZATION_PASSWORD: ${{ secrets.PIA_APPLE_NOTARIZATION_PASSWORD }}
APPLE_SYSTEM_EXTENSION_PROVISIONING_PROFILE_BASE64: ${{ secrets.PIA_APPLE_SYSTEM_EXTENSION_PROVISIONING_PROFILE_BASE64 }}
with:
BRAND: PIA
APP_BUILD_TARGET: PIA Split Tunnel
EXTENSION_ID: com.privateinternetaccess.vpn.splittunnel
CODESIGN_IDENTITY: ${{ vars.PIA_CODESIGN_IDENTITY }}
TEAM_ID: ${{ vars.PIA_APPLE_TEAM_ID }}
# build_and_sign_CG:
# permissions:
# contents: read
# packages: read
# uses: ./.github/workflows/build_cg.yml
# secrets: inherit
# with:
# BRAND: CG
tests:
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15
- uses: actions/checkout@v4
- name: Run tests
env:
PROJECT: SplitTunnelProxy
TEST_TARGET: SplitTunnelProxyExtensionFrameworkTests
run: ./build_scripts/test.sh