Skip to content

New version number 2024.4.21 #438

New version number 2024.4.21

New version number 2024.4.21 #438

Workflow file for this run

name: CI macOS (Cocoa)
# Controls when the action will run.
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
# The type of runner that the job will run on
runs-on: macos-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: Build
run: xcodebuild build -project _Build_/Xcode/Einstein.xcodeproj -scheme Einstein
# All automated tests are available as part of the EinsteinTest target
- name: Run Xcode tests
run: xcodebuild test -project _Build_/Xcode/Einstein.xcodeproj -scheme Einstein
- name: Archive
run: |
xcodebuild -project _Build_/Xcode/Einstein.xcodeproj -scheme Einstein -archivePath Einstein.xcarchive archive
mkdir -p artifacts
tar czf artifacts/Einstein.app.tgz -C Einstein.xcarchive/Products/Applications/ Einstein.app
- uses: actions/upload-artifact@v2
with:
name: Einstein.app
path: artifacts/Einstein.app.tgz