-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update to use cmake, fix artifacts upload
- Loading branch information
Showing
1 changed file
with
12 additions
and
9 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 |
---|---|---|
|
@@ -29,26 +29,29 @@ jobs: | |
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/cache@v2 | ||
- run: | | ||
julia --startup-file=no --project=. -e 'using Pkg; Pkg.instantiate()' | ||
julia --startup-file=no --project=compiler -e 'using Pkg; Pkg.instantiate()' | ||
julia --startup-file=no --project=compiler compiler/build.jl foo | ||
mkdir build | ||
pushd build | ||
cmake .. | ||
make | ||
popd | ||
#julia --startup-file=no --project=. -e 'using Pkg; Pkg.instantiate()' | ||
#julia --startup-file=no --project=compiler -e 'using Pkg; Pkg.instantiate()' | ||
#julia --startup-file=no --project=compiler compiler/build.jl foo | ||
# Upload as release asset | ||
- uses: vimtor/[email protected] | ||
with: | ||
files: foo/ | ||
files: build/madnlp_c-0.8.3-0.1.0/ | ||
recursive: true | ||
dest: foo.zip | ||
|
||
dest: madnlp_c-0.8.3-1.zip | ||
- name: Upload files to a GitHub release | ||
uses: svenstaro/[email protected] | ||
with: | ||
overwrite: true | ||
tag: v0.1 | ||
file: foo.zip | ||
file: madnlp_c-0.8.3-1.zip | ||
asset_name: madnlp-jl${{ matrix.version}}-${{ matrix.os }}-${{ matrix.arch }}.zip | ||
prerelease: true | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
name: madnlp-jl${{ matrix.version}}-${{ matrix.os }}-${{ matrix.arch }} | ||
path: foo | ||
path: build/madnlp_c-0.8.3-0.1.0/ |