Skip to content

Commit

Permalink
modify code
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m authored Jun 17, 2024
1 parent 1c7c4c3 commit d63a3c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-and-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:

jobs:
build:
runs-on: [ubuntu-latest, macos-latest]
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
Expand All @@ -19,10 +22,10 @@ jobs:
java-version: '11'
distribution: 'adopt'
- name: Install openCL on Ubuntu
if: matrix.platform_name == 'Ubuntu'
if: runner.os == 'Linux'
run: sudo apt install ocl-icd-opencl-dev
- name: Increase swapfile on Ubuntu
if: matrix.platform_name == 'Ubuntu'
if: runner.os == 'Linux'
run: |
sudo swapoff -a
sudo fallocate -l 15G /swapfile
Expand Down

0 comments on commit d63a3c0

Please sign in to comment.