Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test compilation in different OSs #1099

Open
josecelano opened this issue Nov 22, 2024 · 0 comments
Open

Test compilation in different OSs #1099

josecelano opened this issue Nov 22, 2024 · 0 comments
Labels
- Developer - Torrust Improvement Experience Build | Project System Compiling and Packaging Continuous Integration Workflows and Automation Enhancement / Feature Request Something New Portability Distribution to More Places

Comments

@josecelano
Copy link
Member

josecelano commented Nov 22, 2024

Relates to: #325

We could create a new workflow only for that or change the testing workflow,

From:

  unit:
    name: Units
    runs-on: ubuntu-latest
    needs: check

    strategy:
      matrix:
        toolchain: [nightly, stable]

To:

  unit:
    name: Units on ${{ matrix.os }} with toolchain ${{ matrix.rust }}
    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        toolchain: [nightly, stable]

It may be too slow to run all tests in all OSs. We can also add a new job only for building and test compilation, not test execution.

I have to check if it compiles in macOS. Apparently, it's fixed in Windows.

cc @da2ce7

@josecelano josecelano added Enhancement / Feature Request Something New Continuous Integration Workflows and Automation - Developer - Torrust Improvement Experience Portability Distribution to More Places Build | Project System Compiling and Packaging labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Developer - Torrust Improvement Experience Build | Project System Compiling and Packaging Continuous Integration Workflows and Automation Enhancement / Feature Request Something New Portability Distribution to More Places
Projects
None yet
Development

No branches or pull requests

1 participant