Skip to content

Commit

Permalink
use macos 13 and do a couple of checks
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m authored Jun 17, 2024
1 parent 4aad905 commit 5b85a3e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-and-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -25,6 +25,16 @@ jobs:
- name: Install openCL on Ubuntu
if: runner.os == 'Linux'
run: sudo apt install ocl-icd-opencl-dev
- name: Check memory and swap (macOS)
if: runner.os == 'macOS'
run: |
echo "Checking RAM and Swap for macOS Runner"
vm_stat
sysctl vm.swapusage
- name: Check architecture (macOS)
if: runner.os == 'macOS'
run: |
uname -m
- name: Increase swapfile on Ubuntu
if: runner.os == 'Linux'
run: |
Expand Down

0 comments on commit 5b85a3e

Please sign in to comment.