Skip to content

Commit

Permalink
test: set ubuntu and windows versions
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanjpg committed Jan 1, 2024
1 parent 86106bb commit 3b4a81b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-and-test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,27 @@ on: [pull_request]
name: CI for pull requests

jobs:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
build_and_test_ubuntu:
name: Build and test on Ubuntu
runs-on: ubuntu-latest
name: Build and test on Ubuntu (x86_64)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- id: build_and_test
uses: ./.github/build-and-test

# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
build_and_test_windows:
name: Build and test on Windows
runs-on: windows-latest
name: Build and test on Windows (x86_64)
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- id: build_and_test
uses: ./.github/build-and-test

# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
build_and_test_macos_x86_64:
name: Build and test on macOS
name: Build and test on macOS (x86_64)
runs-on: macos-13
steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +32,7 @@ jobs:

# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-arm64-Readme.md
build_and_test_macos_arm64:
name: Build and test on macOS
name: Build and test on macOS (ARM64)
runs-on: macos-13-arm64
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: CI for push
jobs:
build_and_test_ubuntu:
name: Build and test on Ubuntu
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build and test on ubuntu
Expand Down

0 comments on commit 3b4a81b

Please sign in to comment.