Skip to content

Merge branch 'master' of https://github.com/osfree-project/osfree #696

Merge branch 'master' of https://github.com/osfree-project/osfree

Merge branch 'master' of https://github.com/osfree-project/osfree #696

Workflow file for this run

name: osFree userland Windows build and tests
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
# run at the event pushed by Jenkins
repository_dispatch:
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest
permissions:
contents: write
defaults:
run:
shell: cmd
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out from repository
uses: actions/checkout@v4
with:
# repository: {owner}/repo
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
# Update references
- name: Git Sumbodule Update
run: |
git submodule update --init --recursive --force --remote
# Commit
- name: Commit update
uses: stefanzweifel/git-auto-commit-action@v5
# run: |
# git config --global user.name 'Git bot'
# git config --global user.email '[email protected]'
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
# git commit -a -m "Auto updated submodule references" || echo "No changes to commit #1"
# git push || echo "No changes to commit #2"
# Install prerequisites
- name: Install prerequisites
run: cd tools\conf\scripts\ && _setup.bat
# Build
- name: Build
run: _wcc.cmd