Skip to content

deps: Bump MadNLP.jl commit #53

deps: Bump MadNLP.jl commit

deps: Bump MadNLP.jl commit #53

Workflow file for this run

name: build
permissions: write-all
on: push
jobs:
build:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version:
- '1.10.4'
os:
- windows-2022
- ubuntu-20.04
- macos-12
- macos-14
arch:
- x64
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
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
# Upload as release asset
#- uses: vimtor/[email protected]
# with:
# files: foo/
# recursive: true
# dest: foo.zip
- name: zip_with_symlinks
run: |
zip --symlinks -r foo.zip foo/
- uses: actions/[email protected]
with:
name: madnlp-jl${{ matrix.version}}-${{ matrix.os }}-${{ matrix.arch }}
path: foo.zip
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- name: Upload files to a GitHub release
uses: svenstaro/[email protected]
with:
overwrite: true
tag: nightly-${{ env.GITHUB_REF_SLUG }}
file: foo.zip
asset_name: madnlp-jl${{ matrix.version}}-${{ matrix.os }}-${{ matrix.arch }}.zip
prerelease: true
repo_token: ${{ secrets.GITHUB_TOKEN }}