forked from micro5k/microg-unofficial-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.08 KB
/
tools-tester.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# SPDX-FileCopyrightText: (c) 2024 ale5000
# SPDX-License-Identifier: GPL-3.0-or-later
name: "Tools tester"
permissions: {}
on:
push:
paths:
- ".github/workflows/tools-tester.yml"
- "tools/**"
pull_request:
paths:
- ".github/workflows/tools-tester.yml"
- "tools/**"
workflow_dispatch:
jobs:
base:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
- macos-12
name: "Tools test (${{ matrix.os }})"
runs-on: "${{ matrix.os }}"
steps:
- name: "Checkout sources"
uses: actions/checkout@v4
- name: "Test script on bash"
shell: bash
run: |
# Testing script...
printf '%s\n\n' 'bits-info.sh:'
'${{ github.workspace }}/tools/bits-info.sh'
- name: "Test script on Oils"
if: "${{ matrix.os == 'macos-latest' }}"
run: |
# Testing script...
brew install oils-for-unix
printf '%s\n\n' 'bits-info.sh:'
osh '${{ github.workspace }}/tools/bits-info.sh'