Skip to content

Commit

Permalink
Merge pull request #270 from AntelopeIO/ehp/gh-269-use-ubuntu22-leap-dev
Browse files Browse the repository at this point in the history
Updated Build&Test to use ubuntu22 leap
  • Loading branch information
ericpassmore authored Feb 20, 2024
2 parents 6906563 + 0d42f9b commit 26289ff
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,19 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Download leap-dev.deb (Ubuntu 20 only)
if: matrix.platform == 'ubuntu20'
- name: Download leap-dev.deb (Ubuntu 22 only)
if: matrix.platform == 'ubuntu22'
uses: AntelopeIO/asset-artifact-download-action@v3
with:
owner: AntelopeIO
repo: leap
file: 'leap-dev.*(x86_64|amd64).deb'
file: 'leap-dev.*ubuntu22\.04_amd64.deb'
target: '${{needs.versions.outputs.leap-dev-target}}'
prereleases: ${{fromJSON(needs.versions.outputs.leap-dev-prerelease)}}
artifact-name: leap-dev-ubuntu20-amd64
artifact-name: leap-dev-ubuntu22-amd64
container-package: experimental-binaries
- name: Install leap-dev.deb (Ubuntu 20 only)
if: matrix.platform == 'ubuntu20'
- name: Install leap-dev.deb (Ubuntu 22 only)
if: matrix.platform == 'ubuntu22'
run: |
apt-get update && apt-get upgrade -y
apt install -y ./leap-dev*.deb
Expand All @@ -127,13 +127,13 @@ jobs:
make -j $(nproc)
cd tests
ctest -j $(nproc) --output-on-failure
- name: Package (Ubuntu 20 only)
if: matrix.platform == 'ubuntu20'
- name: Package (Ubuntu 22 only)
if: matrix.platform == 'ubuntu22'
run: |
cd build/packages
bash generate_package.sh deb ubuntu amd64
- name: Upload (Ubuntu 20 only)
if: matrix.platform == 'ubuntu20'
- name: Upload (Ubuntu 22 only)
if: matrix.platform == 'ubuntu22'
uses: actions/upload-artifact@v3
with:
name: cdt_ubuntu_package_amd64
Expand Down

0 comments on commit 26289ff

Please sign in to comment.