Build amd64 in buster
This commit is contained in:
1 parent
e941744fbb
commit
babd654d88
1 file changed
+17
-6
@@ -74,6 +74,10 @@ jobs:
|
||||
# Rust uses the target triple, GCC generally targets a family
|
||||
# with a specific prefix, and dpkg's arch does its own thing
|
||||
include:
|
||||
- arch: amd64
|
||||
target: x86_64-unknown-linux-gnu
|
||||
gcc: x86-64-linux-gnu
|
||||
pkgconfig: x86_64-linux-gnu
|
||||
- arch: armhf
|
||||
target: armv7-unknown-linux-gnueabihf
|
||||
gcc: arm-linux-gnueabihf
|
||||
@@ -130,7 +134,7 @@ jobs:
|
||||
|
||||
push_to_registry:
|
||||
name: Build Docker image
|
||||
if: ${{ github.event_name }} == 'push'
|
||||
if: github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- "cross"
|
||||
@@ -202,7 +206,7 @@ jobs:
|
||||
- name: Download Linux x86_64
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release-ubuntu-22.04
|
||||
name: release-amd64-buster
|
||||
path: linux/amd64
|
||||
- name: Download Linux armv7
|
||||
uses: actions/download-artifact@v3
|
||||
@@ -235,7 +239,7 @@ jobs:
|
||||
create_release:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
# if: startsWith(github.ref, 'refs/tags/') && ${{ github.event_name }} == 'push' # Ensure this only runs on a tag or expect issues
|
||||
# if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push' # Ensure this only runs on a tag or expect issues
|
||||
needs:
|
||||
- "cross"
|
||||
- "native"
|
||||
@@ -267,7 +271,12 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release-ubuntu-22.04
|
||||
path: neolink_linux_x86_64
|
||||
path: neolink_linux_x86_64_ubuntu
|
||||
- name: Download Linux x86_64
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release-amd64-buster
|
||||
path: neolink_linux_x86_64_buster
|
||||
- name: Download Linux armhf
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
@@ -288,7 +297,8 @@ jobs:
|
||||
dirs=(
|
||||
neolink_windows
|
||||
neolink_macos
|
||||
neolink_linux_x86_64
|
||||
neolink_linux_x86_64_ubuntu
|
||||
neolink_linux_x86_64_buster
|
||||
neolink_linux_armhf
|
||||
neolink_linux_arm64
|
||||
neolink_linux_i386
|
||||
@@ -304,7 +314,8 @@ jobs:
|
||||
files: |
|
||||
neolink_windows.zip
|
||||
neolink_macos.zip
|
||||
neolink_linux_x86_64.zip
|
||||
neolink_linux_x86_64_ubuntu.zip
|
||||
neolink_linux_x86_64_buster.zip
|
||||
neolink_linux_armhf.zip
|
||||
neolink_linux_arm64.zip
|
||||
neolink_linux_i386.zip
|
||||
|
||||
Reference in new issue
Block a user