Skip to content

Switched to ARM-based runners and removed ccache (#142) #122

Switched to ARM-based runners and removed ccache (#142)

Switched to ARM-based runners and removed ccache (#142) #122

Workflow file for this run

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