Skip to content

Commit

Permalink
Updated upload artifact version. Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRT committed Oct 3, 2024
1 parent 459d39e commit fc4270f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: julia --color=yes --project -e 'import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/OpenModelica/Absyn.jl.git", rev="master")); Pkg.test("Absyn"); Pkg.test("OMParser")'

- name: upload library
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: parser-library
path: ${{github.workspace}}/${{matrix.sys.os}}-library.tar.gz
2 changes: 1 addition & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: julia --color=yes --project -e 'import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/OpenModelica/Absyn.jl.git", rev="master")); Pkg.test("Absyn"); Pkg.test("OMParser")'

- name: upload library
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: parser-library
path: ${{github.workspace}}/${{matrix.sys.os}}-library.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ PATH_TO_EXT = realpath("$(pwd())/../lib/ext")


@static if v"1.10.0" > VERSION
throw("precompilation is currently only supported for Julia version 1.10 or greater. For prior versions of Julia please download and extract the libraries available at https://github.com/OpenModelica/OMParser.jl/releases")
throw("Building OMParser with precompiled shared libraries is currently only supported for Julia version 1.10 or greater. For prior versions of Julia please download and extract the libraries available at https://github.com/OpenModelica/OMParser.jl/releases or build the libraries in the lib subdirectory.")
end

@static if Sys.iswindows()
#= Download shared libraries (DLLS for Windows)=#
#= Download the shared libraries (DLLS for Windows) =#
extractTar("windows-latest-library";
URL="https://github.com/OpenModelica/OMParser.jl/releases/download/Latest-windows-latest/windows-latest-library.tar.gz")
elseif Sys.islinux()
Expand Down
5 changes: 4 additions & 1 deletion lib/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Email [email protected] or [email protected] for questions.
# Build instructions
See the second README in the parser subfolder.

# Contact
Email [email protected] or [email protected] for questions.

0 comments on commit fc4270f

Please sign in to comment.