Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Update build and test action (#62)
Browse files Browse the repository at this point in the history
* Update to Ubuntu 22.04
* Pin actions with hash
* Set default permissions
  • Loading branch information
marbre authored Feb 13, 2024
1 parent 241cd47 commit 30291c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,21 @@ on:
branches:
- main

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install cmake clang ninja-build
- name: Checkout repository
uses: actions/checkout@v2
- name: Initalize submodules
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize submodules
run : |
git submodule update --init
cd third_party/iree
Expand All @@ -35,8 +38,8 @@ jobs:
cd build
cmake .. \
-GNinja \
-DCMAKE_C_COMPILER=clang-10 \
-DCMAKE_CXX_COMPILER=clang++-10 \
-DCMAKE_C_COMPILER=clang-14 \
-DCMAKE_CXX_COMPILER=clang++-14 \
-DIREE_HAL_DRIVER_DEFAULTS=OFF \
-DIREE_HAL_EXECUTABLE_LOADER_DEFAULTS=OFF \
-DIREE_HAL_EXECUTABLE_LOADER_VMVX_MODULE=ON \
Expand Down

0 comments on commit 30291c3

Please sign in to comment.