forked from p2pderivatives/cfd-rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from cryptogarageinc/features/sprint60
update to v0.2.5
- Loading branch information
Showing
10 changed files
with
289 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
jobs: | ||
create_releases: | ||
name: create-releases | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
outputs: | ||
release_url: ${{ steps.output_url.outputs.upload_url }} | ||
|
||
|
@@ -44,7 +44,7 @@ jobs: | |
upload-object-windows-vs2019: | ||
name: upload-object-win-vs2019 | ||
needs: create_releases | ||
runs-on: windows-latest | ||
runs-on: windows-2019 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -170,7 +170,7 @@ jobs: | |
upload-object-alpine: | ||
name: upload-object-alpine | ||
needs: create_releases | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -213,3 +213,57 @@ jobs: | |
asset_path: /tmp/cfd/cfd.zip | ||
asset_name: cfd-sys-${{ steps.get_version.outputs.VERSION }}-alpine_x86_64.zip | ||
asset_content_type: application/zip | ||
|
||
upload-object-macos: | ||
name: upload-object-macos | ||
needs: create_releases | ||
runs-on: macos-10.15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
xcode: [10.3, 11.6] | ||
shared: [on, off] | ||
include: | ||
- shared: on | ||
suffix: | ||
- shared: off | ||
suffix: -static | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
- name: cmake-build | ||
run: | | ||
cd cfd-sys/cfd-cmake | ||
mkdir dist | ||
mkdir build | ||
cd build | ||
cmake .. -DENABLE_SHARED=${{ matrix.shared }} -DENABLE_TESTS=off -DENABLE_JS_WRAPPER=off -DCMAKE_BUILD_TYPE=Release -DTARGET_RPATH="/usr/local/lib" | ||
cd .. | ||
cmake --build build --parallel 2 --config Release | ||
cd build | ||
sudo make install DESTDIR=../dist | ||
cd ../../.. | ||
- name: create archive file | ||
run: | | ||
cd cfd-sys/cfd-cmake | ||
cd dist | ||
zip -r cfd.zip usr | ||
echo "---- dump zip file ----" | ||
ls -l | ||
- name: output url | ||
id: get_url | ||
run: echo "::set-output name=upload_url::${{ needs.create_releases.outputs.release_url }}" | ||
- name: Upload Release Asset Ubuntu | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.get_url.outputs.upload_url }} | ||
asset_path: ./cfd-sys/cfd-cmake/dist/cfd.zip | ||
asset_name: cfd-sys-${{ steps.get_version.outputs.VERSION }}-ubuntu${{ matrix.os_ver }}04-${{ matrix.bin }}-x86_64.zip | ||
asset_name: cfd-${{ steps.get_version.outputs.VERSION }}-osx-xcode${{ matrix.xcode }}${{ matrix.suffix }}-x86_64.zip | ||
asset_content_type: application/zip |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
cfd-sys/cfd-cmake/local_resource/external_project_local_setting.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CFDRUST_VERSION=0.2.3 | ||
CFD_TARGET_VERSION=refs/tags/v0.2.7 | ||
CFDCORE_TARGET_VERSION=refs/tags/v0.2.6 | ||
LIBWALLY_TARGET_VERSION=refs/tags/cfd-0.2.3 | ||
CFDRUST_VERSION=0.2.5 | ||
CFD_TARGET_VERSION=refs/tags/v0.2.12 | ||
CFDCORE_TARGET_VERSION=refs/tags/v0.2.8 | ||
LIBWALLY_TARGET_VERSION=refs/tags/cfd-0.2.4 | ||
CFD_TARGET_URL=cryptogarageinc/cfd.git | ||
CFDCORE_TARGET_URL=cryptogarageinc/cfd-core.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.