Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Mar 12, 2024
1 parent 49e0d5d commit 55a38f0
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build on FreeBSD
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
id: test
uses: vmactions/freebsd-vm@v0
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
gmake
gmake install
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-freebsd
path: |
Expand All @@ -61,6 +61,6 @@ jobs:
retention-days: 7

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-freebsd
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
os: ['Ubuntu-22.04', 'Ubuntu-20.04']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v4
Expand All @@ -30,14 +30,14 @@ jobs:
make install DESTDIR=inst RUST_PROFILE=release
cd inst/ && tar --sort=name --owner=0 --group=0 --numeric-owner -cvaf ../clightning-v-${{ matrix.os }}.tar.xz .
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-${{ matrix.os }}
path: |
clightning-v-${{ matrix.os }}.tar.xz
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-${{ matrix.os }}
2 changes: 1 addition & 1 deletion .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
include:
- { OS: alpine }
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Integration testing
run: |
docker build -f contrib/docker/Dockerfile.${{matrix.OS}} -t clightning-${{matrix.OS}} .
6 changes: 3 additions & 3 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Building using the builder image
run: ./tools/build-release.sh bin-Fedora-28-amd64
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-fedora
path: release/*.tar.gz
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-fedora
6 changes: 3 additions & 3 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
sudo python3.10 -m poetry run make install
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-macos
path: |
Expand All @@ -60,6 +60,6 @@ jobs:
retention-days: 7

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-macos
2 changes: 1 addition & 1 deletion .github/workflows/readme-rpc-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Builder focal image setup
run: sudo docker build -t cl-repro-focal - < contrib/reprobuild/Dockerfile.focal
- name: Builder jammy image setup
run: sudo docker build -t cl-repro-jammy - < contrib/reprobuild/Dockerfile.jammy
- name: Building using the builder image
run: ./tools/build-release.sh bin-Fedora-28-amd64 bin-Ubuntu
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-all-releases
path: release/*.*
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-all-releases
12 changes: 6 additions & 6 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,43 @@ jobs:
focal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Builder image setup
run: sudo docker build -t cl-repro-focal - < contrib/reprobuild/Dockerfile.focal
- name: create release folder
run: mkdir release
- name: Building using the builder image
run: sudo docker run --rm -v $(pwd):/repo -t cl-repro-focal
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-Ubuntu-20.04
path: release/*.tar.xz
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-Ubuntu-20.04

jammy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Builder image setup
run: sudo docker build -t cl-repro-jammy - < contrib/reprobuild/Dockerfile.jammy
- name: create release folder
run: mkdir release
- name: Building using the builder image
run: sudo docker run --rm -v $(pwd):/repo -t cl-repro-jammy
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: clightning-${{ github.sha }}-Ubuntu-22.04
path: release/*.tar.xz
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: clightning-${{ github.sha }}-Ubuntu-22.04

0 comments on commit 55a38f0

Please sign in to comment.