From a7e93fc8954113d5dc3b23095c2f76eaac95699d Mon Sep 17 00:00:00 2001 From: Nutcake Date: Thu, 25 Jan 2024 18:03:29 +0100 Subject: [PATCH 1/3] Test workflow container setting --- .github/workflows/build.yml | 5 ++++- .github/workflows/publish.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0dc0829..80a8dae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,13 @@ on: jobs: buildLinux: runs-on: ubuntu-latest + container: debian:buster steps: - uses: actions/checkout@v4 - name: Build Native Linux - run: make all + run: | + sudo apt install -y make gcc g++ + make all - uses: actions/upload-artifact@v4 with: path: Dist/ diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index faf2ec6..c3825fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,12 +9,15 @@ on: jobs: buildLinux: runs-on: ubuntu-latest + container: debian:buster env: VERSION: ${{ github.event.release.tag_name }} steps: - uses: actions/checkout@v4 - name: Build Native Linux - run: make all + run: | + sudo apt install -y make gcc g++ + make all - uses: actions/upload-artifact@v4 with: path: Dist/ From d528a6ec0ef2d13d0c20b4f0adda79cff2bb1d33 Mon Sep 17 00:00:00 2001 From: Nutcake Date: Thu, 25 Jan 2024 18:18:26 +0100 Subject: [PATCH 2/3] Remove sudo update apt repos --- .github/workflows/build.yml | 3 ++- .github/workflows/publish.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80a8dae..f995b3f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,8 @@ jobs: - uses: actions/checkout@v4 - name: Build Native Linux run: | - sudo apt install -y make gcc g++ + apt update + apt install -y make gcc g++ make all - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c3825fd..53a6b48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,8 @@ jobs: - uses: actions/checkout@v4 - name: Build Native Linux run: | - sudo apt install -y make gcc g++ + apt update + apt install -y make gcc g++ make all - uses: actions/upload-artifact@v4 with: From ab9c3937973c5520ff25866caa96e4a4d9b129b9 Mon Sep 17 00:00:00 2001 From: Nutcake Date: Thu, 25 Jan 2024 18:23:57 +0100 Subject: [PATCH 3/3] Add unzip package --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f995b3f..dbe31d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Build Native Linux run: | apt update - apt install -y make gcc g++ + apt install -y make gcc g++ unzip make all - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 53a6b48..6fef04c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: - name: Build Native Linux run: | apt update - apt install -y make gcc g++ + apt install -y make gcc g++ unzip make all - uses: actions/upload-artifact@v4 with: