-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
77 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Ubuntu - Build docs | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu-build-docs: | ||
name: Ubuntu - Build docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download source | ||
uses: actions/checkout@v2 | ||
- name: Install Crystal | ||
uses: oprypin/install-crystal@v1 | ||
- name: Install Crystal libs | ||
run: shards install | ||
- name: raylib-cr post-install | ||
run: sh ./lib/raylib-cr/rsrc/install.sh | ||
- name: Build site | ||
run: crystal docs |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Windows - Build docs | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
windows-build-docs: | ||
name: Windows - Build Docs | ||
runs-on: windows-latest | ||
steps: | ||
- name: Download source | ||
uses: actions/checkout@v2 | ||
- name: Install Crystal | ||
run: | | ||
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | ||
irm get.scoop.sh -outfile 'install.ps1' | ||
.\install.ps1 -RunAsAdmin | ||
echo ("PATH=" + $env:PATH + ";" + $home + "\scoop\shims") >> $env:GITHUB_ENV | ||
scoop bucket add crystal-preview https://github.com/neatorobito/scoop-crystal | ||
scoop install vs_2022_cpp_build_tools | ||
scoop install crystal | ||
- name: shards install | ||
run: shards install | ||
- name: Setup VS Dev Environment | ||
uses: seanmiddleditch/gha-setup-vsdevenv@v4 | ||
- name: raylib-cr post-install | ||
run: | | ||
powershell lib/raylib-cr/rsrc/install-lib.ps1 | ||
echo ("LIB=" + $env:LIB + ";" + $pwd + "\libs") >> $env:GITHUB_ENV | ||
echo ("PATH=" + $env:PATH + ";" + $pwd + "\libs") >> $env:GITHUB_ENV | ||
- name: make site | ||
run: | | ||
crystal docs |
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
9 changes: 7 additions & 2 deletions
9
github-workflows/windows-docs.yml → github-workflows/windows-deploy-docs.yml
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
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
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