Skip to content

ci: Temporarily disable build on windows #17

ci: Temporarily disable build on windows

ci: Temporarily disable build on windows #17

Workflow file for this run

name: Test and Release
on:
push:
branches:
- master
tags-ignore:
- '**'
paths-ignore:
- '**/*.md'
- LICENSE
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Setup V
uses: prantlf/setup-v-action@v2
- name: Test
run: make
macos:
runs-on: macos-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Setup V
uses: prantlf/setup-v-action@v2
- name: Test
run: make
# windows:
# runs-on: windows-latest
# steps:
# - name: Checkout Sources
# uses: actions/checkout@v4
# - name: Setup V
# uses: prantlf/setup-v-action@v2
# with:
# install-dependencies: false
# - name: Install Dependencies
# run: |
# md src\modules
# md src\modules\prantlf
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-debug src\modules\prantlf\debug
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-ini src\modules\prantlf\ini
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-jany src\modules\prantlf\jany
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-json src\modules\prantlf\json
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-path src\modules\prantlf\path
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-strutil src\modules\prantlf\strutil
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-osutil src\modules\prantlf\osutil
# git clone --depth=1 --recursive --shallow-submodules https://github.com/prantlf/v-yaml src\modules\prantlf\yaml
# - name: Test
# run: cmd /c make.bat
release:
if: ${{ github.ref_name == 'master' }}
needs:
- linux
- macos
# - windows
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Publish release
uses: prantlf/publish-release-action@v1
with:
no-archives: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}