-
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: Avoid using cmake, skip upload release
- Loading branch information
Showing
1 changed file
with
17 additions
and
17 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,27 +29,27 @@ jobs: | |
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/cache@v2 | ||
- run: | | ||
mkdir build | ||
cmake -B build | ||
make -C build | ||
#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 | ||
#cmake -B build | ||
#make -C build | ||
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: build/madnlp_c-0.8.3-0.1.0/ | ||
files: foo/ | ||
recursive: true | ||
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: madnlp_c-0.8.3-1.zip | ||
asset_name: madnlp-jl${{ matrix.version}}-${{ matrix.os }}-${{ matrix.arch }}.zip | ||
prerelease: true | ||
dest: foo.zip | ||
#- name: Upload files to a GitHub release | ||
#uses: svenstaro/[email protected] | ||
#with: | ||
#overwrite: true | ||
#tag: v0.1 | ||
#file: foo.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: build/madnlp_c-0.8.3-0.1.0/ | ||
path: foo.zip |