From b2458eeb5b1a990072daf5eaf1134c9bfdab3db7 Mon Sep 17 00:00:00 2001 From: bxq2011hust Date: Mon, 20 May 2024 12:54:56 +0800 Subject: [PATCH] add macos-13 x86 ci --- .github/workflows/macos_13_upload.yml | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/macos_13_upload.yml diff --git a/.github/workflows/macos_13_upload.yml b/.github/workflows/macos_13_upload.yml new file mode 100644 index 0000000000..18e9e9fd2f --- /dev/null +++ b/.github/workflows/macos_13_upload.yml @@ -0,0 +1,37 @@ +name: macos x86 release Actions +on: + push: + tags-ignore: + - v1.* + pull_request: + paths-ignore: + - "docs/**" + - "Changelog.md" + - "README.md" + release: + types: [published, created, edited] + +jobs: + compile_macOS_release: + name: macos x86 release Actions + runs-on: macos-13 + # if: startsWith(github.ref,'v2') + steps: + - uses: actions/checkout@v2 + repository: FISCO-BCOS/FISCO-BCOS + ref: master-2.0 + with: + fetch-depth: 5 + - name: install macOS dependencies + if: runner.os == 'macOS' + run: brew install openssl + - name: configure + run: cmake . + - name: compile + run: make -j2 + - name: prepare artifact + run: cd bin/ && strip fisco-bcos && tar -zcf fisco-bcos-macOS-x86.tar.gz fisco-bcos + - uses: actions/upload-artifact@v2 + with: + name: fisco-bcos-macOS-x86.tar.gz + path: bin/fisco-bcos-macOS-x86.tar.gz