From be773e7de37df9ac9a95ac1135bdef6939b78a95 Mon Sep 17 00:00:00 2001 From: e1732a364fed <75717694+e1732a364fed@users.noreply.github.com> Date: Sat, 1 Jan 2000 00:00:00 +0000 Subject: [PATCH] =?UTF-8?q?action:=E7=9B=B4=E6=8E=A5=E4=BD=BF=E7=94=A8gcc-?= =?UTF-8?q?aarch64-linux-gnu=E8=AF=95=E5=9B=BE=E7=BC=96=E8=AF=91cgo=20linu?= =?UTF-8?q?x=20arm64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release_extra.yml | 29 ++++++++--------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build_release_extra.yml b/.github/workflows/build_release_extra.yml index de3f2d2..c0e4b2e 100644 --- a/.github/workflows/build_release_extra.yml +++ b/.github/workflows/build_release_extra.yml @@ -16,27 +16,18 @@ jobs: with: ref: ${{ github.event.inputs.tagName }} - # https://github.com/marketplace/actions/run-on-architecture - - uses: uraimo/run-on-arch-action@v2 - name: Run commands - id: runcmd + - name: Set up Go + uses: actions/setup-go@v2 with: - arch: aarch64 - distro: ubuntu_latest + go-version: 1.19 - githubToken: ${{ github.token }} - - install: | - apt-get update -q -y - apt-get install -q -y build-essential libgtk-3-dev wget - wget https://go.dev/dl/go1.19.4.linux-arm64.tar.gz - tar -C /usr/local -xzf go1.19.4.linux-arm64.tar.gz - echo "/usr/local/go/bin" >> $GITHUB_PATH - - run: | - uname -a - echo ::set-output name=uname::$(uname -a) - cd cmd/verysimple/ && make -f Makefile_r_vsc PACKNAME=vs_gui_ubuntu_arm64 BUILD_VERSION=${{ github.event.inputs.tagName }} && touch -mt $(date +%Y01010000) *.tar.xz + - name: Run commands + run: | + apt-get update -q -y + apt-get install -q -y build-essential libgtk-3-dev wget gcc-aarch64-linux-gnu + echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV + CC="aarch64-linux-gnu-gcc" + cd cmd/verysimple/ && make -f Makefile_r_vsc PACKNAME=vs_gui_ubuntu_arm64 BUILD_VERSION=${{ github.event.inputs.tagName }} && touch -mt $(date +%Y01010000) *.tar.xz - name: Upload binaries to release uses: svenstaro/upload-release-action@v2