Coder Social home page Coder Social logo

Consider GitHub Actions variables about antq HOT 6 CLOSED

liquidz avatar liquidz commented on August 20, 2024
Consider GitHub Actions variables

from antq.

Comments (6)

liquidz avatar liquidz commented on August 20, 2024 1

@lread Thanks for your reporting!
I'll consider how to deal with it.

from antq.

liquidz avatar liquidz commented on August 20, 2024 1

@lread Thanks for your confirmation!
I just released 0.12.4

from antq.

liquidz avatar liquidz commented on August 20, 2024

@lread I tried to support matrix in dev branch.

Could you try?

  • checkout dev branch
  • run make uberjar to generate target/antq-standalone.jar
  • run java -jar /path/to/your/antq/repo/target/antq-standalone.jar in your project directory

from antq.

lread avatar lread commented on August 20, 2024

@liquidz just tried it out!

I just noticed I am not following the latest conventions for the setup-graalvm action, I use:

      uses: DeLaGuardo/setup-graalvm@master
      with:
        graalvm-version: ${{ matrix.graal }}

Whereas the current docs show:

- uses: DeLaGuardo/[email protected]
  with:
    # GraalVM version, no pattern syntax available atm
    graalvm: '21.0.0.2'
    # Java version, optional, defaults to 'java8'. Available options are 'java8' and 'java11'.
    java: 'java11'
    # Architecture flag, optional, defaults to 'amd64'. Available options are 'amd64' and 'aarch64'. Later is available only for linux runners.
    arch: 'amd64'

So the fact that antq even found my graalvm version is pretty impressive.

If I downgrade my current matrix.graal to [ 21.0.0.1.java8, 21.0.0.1.java11 ], I get:

|                                   :file |                     :name | :current |     :latest |
|-----------------------------------------+---------------------------+----------+-------------|
| .github/workflows/native-image-test.yml | graalvm/graalvm-ce-builds | 21.0.0.1 | vm-21.0.0.2 |

This helpfully tells me I could be using a later version of graal!
Curious, what does the vm- prefix mean?

If I switch to the newer recommended setup-graalvm syntax, I don't really have a matrix thing going on for the graal version anymore as I always want to use the latest, but let's try it.

My updated matrix:

    strategy:
      matrix:
        os: [ windows-latest, ubuntu-latest, macos-latest ]
        graal-java: [ java8, java11 ]
        test: [ pure, sci ]
        exclude:
          - os: windows-latest
            graal-java: java8

And my setup-graalvm step (with an older version of graalvm specified):

    - name: Install GraalVM
      uses: DeLaGuardo/[email protected]
      with:
        graalvm: '21.0.0.1'
        java: ${{ matrix.graal-java }}

In this case antq does not report that my graalvm version is out of date.

from antq.

liquidz avatar liquidz commented on August 20, 2024

@lread Thanks!

I just noticed I am not following the latest conventions for the setup-graalvm action
...
In this case antq does not report that my graalvm version is out of date.

Oh, thanks for your notification!
I fixed it in dev branch (5921a56)

Curious, what does the vm- prefix mean?

graalvm/graalvm-ce-builds has vm- prefix in tags.
antq compares the version number and latest tag name, so it displays as such for now.

from antq.

lread avatar lread commented on August 20, 2024

Thanks @liquidz, your fix on dev looks good from here!

from antq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.