-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π©βπ» Move build steps to shared actions
Also upload artifacts, add Linux target.
- Loading branch information
1 parent
b822b14
commit 8519519
Showing
3 changed files
with
33 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Build Dart Shared Library | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: dart-lang/setup-dart@v1 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- run: dart pub get | ||
working-directory: ./scripts/build_helpers | ||
- name: Build Dart | ||
run: dart ./scripts/build_helpers/bin/build_dart.dart | ||
- uses: threeal/[email protected] | ||
- name: Build Shared Library | ||
run: cmake --build build --config release |
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 |
---|---|---|
|
@@ -11,12 +11,19 @@ jobs: | |
DEPOT_TOOLS_WIN_TOOLCHAIN: 0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dart-lang/setup-dart@v1 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- run: dart pub get | ||
working-directory: ./scripts/build_helpers | ||
- name: Build Dart | ||
run: dart ./scripts/build_helpers/bin/build_dart.dart | ||
- uses: threeal/[email protected] | ||
- name: Build Shared Library | ||
run: cmake --build build --config release | ||
- uses: ./.github/actions/build-action | ||
- name: 'Upload Artifact' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: windows-libs | ||
path: ./build/src/Release/ | ||
build_linux: | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/build-action | ||
- name: 'Upload Artifact' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linux-libs | ||
path: ./build/src/Release/ |
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