Refactor sendable with preconcurrency on dependencies #198
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
# README: | |
# | |
# The semantics for running shell commands in GitHub actions is non-obvious. Please read | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell | |
# before modifying this file. Our strategy is to rely on the built-in (unspecified) shell, and | |
# explicitly set the shell settings we want (with `set -eo pipefail`) at the beginning of any | |
# bash script. For more information on these settings, see `man bash`. | |
# | |
# GitHub Actions files can be difficult to modify with confidence, because testing changes often | |
# requires pushing to a branch and running CI remotely. To make this process easier, consider | |
# the following: | |
# | |
# 1) Use Visual Studio Code with the GitHub Actions Extension (github.vscode-github-actions). | |
# This allows you to check the validity of your action schema and syntax without pushing to a | |
# branch. | |
# 2) Use https://github.com/nektos/act to run your CI steps locally. Note this will only work with | |
# steps run on Linux platforms, as `act` is implemented with Docker containers. | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- "Docs/**" | |
- "**.md" | |
- "README.md" | |
- "LICENSE" | |
- ".gitignore" | |
pull_request: | |
branches: [ "**" ] | |
paths-ignore: | |
- "Docs/**" | |
- "**.md" | |
- "README.md" | |
- "LICENSE" | |
- ".gitignore" | |
env: | |
BUILD_TYPE: ${{ inputs.build-type || 'debug' }} | |
jobs: | |
build: | |
name: Build and test | |
uses: ./.github/workflows/build-and-test-template.yml | |
with: | |
build-type: debug | |
# upload-common-articats: | |
# name: Upload common artifacts | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# with: | |
# submodules: 'true' | |
# - name: Upload Hylo LSP common artifacts | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: hylo-lsp-artifacts-common | |
# path: | | |
# LICENSE | |
# hylo/Library/Hylo | |