Skip to content

Commit

Permalink
add macos-13 x86 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust committed May 20, 2024
1 parent bee4dda commit b2458ee
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/macos_13_upload.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b2458ee

Please sign in to comment.