From 62afe53e5b7c89880db015507676add0b5571a4b Mon Sep 17 00:00:00 2001 From: antononcube Date: Sun, 28 Jan 2024 10:49:39 -0500 Subject: [PATCH] build:First version of GitHub actions YAML files. --- .github/workflows/linux.yml | 32 ++++++++++++++++++++++++++++++++ .github/workflows/macos.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/windows.yml | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 .github/workflows/linux.yml create mode 100644 .github/workflows/macos.yml create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..1b8fa64 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,32 @@ +name: Linux + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + raku: + strategy: + matrix: + os: + - ubuntu-latest + raku-version: + - 'latest' + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: Raku/setup-raku@v1 + with: + raku-version: ${{ matrix.raku-version }} + - name: Install Dependencies + run: | + zef install --/test --deps-only . + zef install --/test App::Prove6 + - name: Run Tests + run: prove6 -l t + env: + DISPLAY: ':0' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..8113ce8 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,30 @@ +name: MacOS + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + raku: + strategy: + matrix: + os: + - macos-latest + raku-version: + - 'latest' + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: Raku/setup-raku@v1 + with: + raku-version: ${{ matrix.raku-version }} + - name: Install Dependencies + run: | + zef install --/test --deps-only . + zef install --/test App::Prove6 + - name: Run Tests + run: prove6 -l t diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..ca571e1 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,34 @@ +name: Win64 + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + raku: + strategy: + matrix: + os: + - windows-latest + raku-version: + - 'latest' + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: Raku/setup-raku@v1 + with: + raku-version: ${{ matrix.raku-version }} + - name: Install Dependencies + run: | + zef install --/test --deps-only . + zef install --/test App::Prove6 + - name: Run Tests + run: | + raku -I. t/01-copy-to-clipboard.t + raku -I. t/02-from-clipboard.t + raku -I. t/03-synonyms.t + run: prove6 -l t