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

Closed
josecelano opened this issue Nov 22, 2024 · 0 comments · Fixed by #1110
Closed

Test compilation in different OSs #1099

josecelano opened this issue Nov 22, 2024 · 0 comments · Fixed by #1110
Assignees
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
Milestone

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
josecelano added a commit to josecelano/torrust-tracker that referenced this issue Nov 27, 2024
josecelano added a commit to josecelano/torrust-tracker that referenced this issue Nov 27, 2024
@josecelano josecelano self-assigned this Nov 27, 2024
@josecelano josecelano added this to the v3.1.0 milestone Nov 27, 2024
josecelano added a commit that referenced this issue Nov 27, 2024
…n in different OSs

38baaea ci: [#1099] Add a new job to the testing workflow to test compilation in different OSs (Jose Celano)

Pull request description:

  Add a new job to the testing workflow to test compilation in different operating systems.

ACKs for top commit:
  josecelano:
    ACK 38baaea

Tree-SHA512: b9a94eea9e13f1ec5cb64cf47bfe1848ea62aac0872e0b424e604f4f5e17dbd7b8f5c3ccb4e6132fdd7fa230870cb34b8fda9b0621cccb29af293a7e60e3b262
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
1 participant