Skip to content

Commit

Permalink
ci: fix DCAP package install
Browse files Browse the repository at this point in the history
ubuntu-latest is not focal anymore and will eventually move to
24.04. Therefore, use a pinned ubuntu-<version> runner and
match the DCAP packages repository path with it.

Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi authored and fitzthum committed Feb 22, 2024
1 parent 962720c commit 18c8ee3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/as-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
basic_ci:
if: github.event_name == 'pull_request' || github.event_name == 'push'
name: Check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
RUSTC_VERSION: 1.76.0
steps:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install TDX build dependencies
run: |
sudo curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo apt-get update
sudo apt-get install -y libsgx-dcap-quote-verify-dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kbs-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
env:
RUSTC_VERSION: 1.76.0
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Code checkout
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Install TDX dependencies
run: |
sudo curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo apt-get update
sudo apt-get install -y libtdx-attest-dev libsgx-dcap-quote-verify-dev
Expand Down

0 comments on commit 18c8ee3

Please sign in to comment.