From cac553c22de5dba919055cc3d16a89439a5e2d3b Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Fri, 17 May 2024 11:37:24 +0200 Subject: [PATCH 1/3] use ubuntu 20.04 for Linux artifacts Fixes https://github.com/herumi/bls-go-binary/issues/31 This ensures that the generated artifacts are compatible with systems that have somewhat older libc installs. --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3ef12a..d41b236 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,9 @@ jobs: git config user.email github-actions@github.com git push --set-upstream origin release build-linux: - runs-on: ubuntu-latest + # For Linux build we use an Ubuntu version that's as old as possible so that + # the generated artifacts are compatible with not-so-recent systems + runs-on: ubuntu-20.04 needs: create-branch steps: - name: Checkout code From bd84d448f0b499a44348940c47b04fd83e3dbf7a Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 27 May 2024 10:03:12 +0900 Subject: [PATCH 2/3] [test] add intel/arm mac _ --- .github/workflows/main.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37467de..551019f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,14 +14,32 @@ jobs: make CXX=clang++ go test -v ./bls - Run-on-macos: + Run-on-Intel-macos: + name: Run on Intel macos + runs-on: macos-13 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.18.x' + - run: | + git submodule update --init --recursive + brew install nasm + make clean + make + go test -v ./bls + + Run-on-ARM-macos: name: Run on macos + # Intel Mac runs-on: macos-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.18.x' - run: | git submodule update --init --recursive - brew install nasm make clean make go test -v ./bls From 0ddf7ee327e65241902043fd84761aad04f12457 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 30 May 2024 08:49:26 +0900 Subject: [PATCH 3/3] update bls/dev --- src/bls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bls b/src/bls index ecf8c32..c9696cf 160000 --- a/src/bls +++ b/src/bls @@ -1 +1 @@ -Subproject commit ecf8c32b58290443b585a097dd644c4ab8ccd2c1 +Subproject commit c9696cf7e48cad1277fc13144eda154b7bd15b0d