Skip to content

Commit

Permalink
test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-erling committed Sep 7, 2024
1 parent aac9b7a commit 66bfe21
Showing 1 changed file with 5 additions and 50 deletions.
55 changes: 5 additions & 50 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,13 @@ name: Build and run tests
on: [ push, pull_request, workflow_dispatch ]

jobs:
ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
windows:
name: Windows
runs-on: windows-latest
steps:
- name: Prepare
run: |
sudo sed -i -e '/en_US/s/^# *//' /etc/locale.gen
sudo locale-gen
sudo update-locale LANG=en_US.UTF-8
sudo apt-get update
sudo apt-get install -y autoconf automake autopoint gettext libtool
uses: microsoft/setup-msbuild@v2
- name: Check out
uses: actions/checkout@v4
- name: Configure
run: |
./utils/autogen.sh
./configure --enable-debug
- name: Build
run: make
- name: Run tests
run: make check
- name: Run distribution tests
run: make distcheck
- name: Upload logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: tre-ubuntu-logs
path: ./**/*.log
macos:
name: macOS
runs-on: macos-latest
steps:
- name: Prepare
run: |
brew update
brew install autoconf automake gettext libtool
- name: Check out
uses: actions/checkout@v4
- name: Configure
run: |
./utils/autogen.sh
./configure --enable-debug
- name: Build
run: make
- name: Run tests
run: make check
- name: Run distribution tests
run: make distcheck
- name: Upload logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: tre-macos-logs
path: ./**/*.log
run: msbuild win32/tre.sln

0 comments on commit 66bfe21

Please sign in to comment.