Switched to ARM-based runners and removed ccache #121
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
XC_VERSION: ${{ '15.1' }} | |
jobs: | |
unit-tests: | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
configuration: ["Debug", "Release", "ASAN", "UBSAN"] | |
steps: | |
- name: Select latest Xcode | |
run: "sudo xcode-select -s /Applications/Xcode_$XC_VERSION.app" | |
- uses: actions/checkout@v4 | |
- name: Build and run unit tests | |
run: "cd Scripts && ./run_all_unit_tests.sh ${{ matrix.configuration }}" | |
build-unsigned: | |
runs-on: macos-14 | |
steps: | |
- name: Select latest Xcode | |
run: "sudo xcode-select -s /Applications/Xcode_$XC_VERSION.app" | |
- name: Install deps | |
run: brew install create-dmg | |
- uses: actions/checkout@v4 | |
- name: Build and package | |
run: "cd Scripts && ./build_unsigned.sh" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: nimble-commander-unsigned | |
path: Scripts/*.dmg | |
if-no-files-found: error |