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

CI: Needs Github Actions #2

Closed
HaoZeke opened this issue Jul 25, 2023 · 1 comment
Closed

CI: Needs Github Actions #2

HaoZeke opened this issue Jul 25, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request gsoc24

Comments

@HaoZeke
Copy link
Member

HaoZeke commented Jul 25, 2023

It would be nice to have some automated tests. For starters perhaps just to close this issue, a build test on ubuntu-latest would be good.

This is very basic but shows the basic layout:

name: Build and Test
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  buildmamba:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: "recursive"
          fetch-depth: 0
      - name: Install Conda environment
        uses: mamba-org/provision-with-micromamba@main
      - name: Build
        shell: bash -l {0}
        run: |
          meson setup bbdir
          meson compile -C bbdir

Perhaps also a test stage for now. The official GHA documentation has a lot of advice. Also it is always a good idea to check the workflows used in other projects :)

@HaoZeke HaoZeke added the enhancement New feature or request label Jul 25, 2023
@HaoZeke
Copy link
Member Author

HaoZeke commented Aug 26, 2024

Closed in #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gsoc24
Projects
None yet
Development

No branches or pull requests

2 participants