Skip to content

Re-enable Windows CI (#845) #1991

Re-enable Windows CI (#845)

Re-enable Windows CI (#845) #1991

Workflow file for this run

name: Red Hat clone
# This workflow will test Basix on Red Hat
on:
schedule:
# '*' is a special character in YAML, so string must be quoted
- cron: "0 2 * * TUE"
pull_request:
branches:
- main
push:
branches:
- "main"
merge_group:
branches:
- main
workflow_dispatch: ~
jobs:
build:
name: Build and test (Red Hat)
runs-on: ubuntu-latest
container: rockylinux/rockylinux:9
env:
CC: gcc
CXX: g++
steps:
- name: Install dependencies
run: |
dnf -y update
dnf install -y dnf-plugins-core
dnf config-manager --set-enabled crb
dnf install -y openblas-devel cmake gcc gcc-c++ git lapack-devel python3 python3-devel python3-pip
- name: Upgrade pip
run: python3 -m pip install pip --upgrade
- uses: actions/checkout@v4
- name: Install Basix
run: python3 -m pip install .[test]
- name: Run units tests
run: python3 -m pytest --durations 20 test/
- name: Run Python demos
run: python3 -m pytest demo/python/test.py
- name: Run C++ demos
run: python3 -m pytest demo/cpp/test.py