You can actually use something like  `make -j8`, or even `-j12` rather
than `make -j2` - I think their runners are quite beefy.
That's what we do in our (quite elaborate by now) Actions test framework:
https://github.com/sagemath/sage/tree/develop/.github/workflows
(we test on macOS and on Windows (Cygwin, and WSL) too, by the way).

On Mon, Nov 23, 2020 at 10:07 AM Qian Yun <[email protected]> wrote:
>
>
>
> On 11/22/20 7:39 PM, Ralf Hemmecke wrote:
> >> GitHub actions are much more powerful nowadays, give much more free time, 
> >> etc.
>
> Yes, GitHub actions provides more functionality, for public repos the
> free time is almost unlimited, and a bit (around 30%) faster than travis CI.
>
> > Do you have some hints in how to setup this stuff. I once tried to
> > understand what it does and gave up.
>
> Hi Ralf, it's pretty straight forward. GitHub actions are by default
> enabled for everyone's every repo.
>
> For FriCAS, I added this
> https://github.com/oldk1331/fricas/blob/master/.github/workflows/ci.yml
> and results are https://github.com/oldk1331/fricas/runs/1440786646
> (Build and run tests with "make -j2" takes 7.5 minutes.)
>
> ====
> name: FriCAS CI
>
> on:
>    push:
>      branches: [ master ]
>    pull_request:
>      branches: [ master ]
>
> jobs:
>    build:
>
>      runs-on: ubuntu-latest
>
>      steps:
>      - uses: actions/checkout@v2
>      - name: install lisp
>        run: sudo apt install sbcl
>      - name: configure
>        run: ./configure
>      - name: make
>        run: make -j2
>      - name: make check
>        run: make check -j2
> ====
>
> > I read about compiling and testing inside a virtual machine that one can
> > setup. That sounded interesting since I would also like to test whether
> > libfricas.al would compile and so needed aldor installed.
> >
> > Ralf
> >
>
> It is certainly possible to do that.  But IIRC building aldor interface
> takes a very long time?
>
> - Best,
> - Qian
>
> --
> You received this message because you are subscribed to the Google Groups 
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/fricas-devel/3c3ef66c-1a3d-37cf-bcab-bfefecef973f%40gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAAWYfq1jR1NX%2BjZKw-uY_Rh8JpQMexeDP1ciBhBR2XdbRPvzew%40mail.gmail.com.

Reply via email to