-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the new SplitView to seperate tabs & terminal
- Loading branch information
Showing
5 changed files
with
56 additions
and
99 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 |
---|---|---|
|
@@ -139,61 +139,4 @@ jobs: | |
uses: actions/upload-artifact@v2 | ||
with: | ||
name: windows | ||
path: vide_windows.zip | ||
|
||
release: | ||
name: Create Github Release | ||
needs: [build-linux, build-windows, build-macos] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Get short tag name | ||
uses: jungwinter/split@v1 | ||
id: split | ||
with: | ||
msg: ${{ github.ref }} | ||
seperator: / | ||
- name: Create Release | ||
id: create_release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ steps.split.outputs._2 }} | ||
name: ${{ steps.split.outputs._2 }} | ||
commit: ${{ github.sha }} | ||
draft: true | ||
prerelease: false | ||
|
||
publish: | ||
needs: [release] | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
version: [linux, macos, windows] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Fetch artifacts | ||
uses: actions/download-artifact@v1 | ||
with: | ||
name: ${{ matrix.version }} | ||
path: ./${{ matrix.version }} | ||
- name: Get short tag name | ||
uses: jungwinter/split@v1 | ||
id: split | ||
with: | ||
msg: ${{ github.ref }} | ||
seperator: / | ||
- name: Get release | ||
id: get_release_info | ||
uses: bruceadams/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | ||
asset_path: ${{ matrix.version }}/vide_${{ matrix.version }}.zip | ||
asset_name: vide_${{ matrix.version }}.zip | ||
asset_content_type: application/zip | ||
path: vide_windows.zip |
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
with: | ||
# Default: ${{ github.token }} | ||
token: ${{ github.token }} | ||
version: '0.3' | ||
version: 'weekly.2023.02' | ||
version-file: '' | ||
check-latest: true | ||
stable: false | ||
|
@@ -32,19 +32,15 @@ jobs: | |
sudo apt install build-essential | ||
sudo apt-get --yes --force-yes install libxi-dev libxcursor-dev mesa-common-dev | ||
sudo apt-get --yes --force-yes install libgl1-mesa-glx | ||
git clone https://github.com/isaiahpatton/ui iui | ||
cd iui | ||
v install https://github.com/isaiahpatton/ui | ||
git clone https://github.com/isaiahpatton/vide | ||
v -cc $CC -skip-unused -gc boehm vide | ||
- name: Remove excluded | ||
run: | | ||
rm -rf .git | ||
- name: Create ZIP archive | ||
run: | | ||
cd iui | ||
zip -r9 --symlinks $ZIPNAME vide/ | ||
mv $ZIPNAME ../ | ||
cd .. | ||
- name: Create artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -62,27 +58,23 @@ jobs: | |
with: | ||
# Default: ${{ github.token }} | ||
token: ${{ github.token }} | ||
version: '0.3' | ||
version: 'weekly.2023.02' | ||
version-file: '' | ||
check-latest: true | ||
stable: false | ||
architecture: '' | ||
- uses: actions/checkout@v1 | ||
- name: Compile | ||
run: | | ||
git clone https://github.com/isaiahpatton/ui iui | ||
cd iui | ||
v install https://github.com/isaiahpatton/ui | ||
git clone https://github.com/isaiahpatton/vide | ||
v -cc $CC -skip-unused -gc boehm vide | ||
- name: Remove excluded | ||
run: | | ||
rm -rf .git | ||
- name: Create ZIP archive | ||
run: | | ||
cd iui | ||
zip -r9 --symlinks $ZIPNAME vide/ | ||
mv $ZIPNAME ../ | ||
cd .. | ||
- name: Create artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -100,7 +92,7 @@ jobs: | |
with: | ||
# Default: ${{ github.token }} | ||
token: ${{ github.token }} | ||
version: '0.3' | ||
version: 'weekly.2023.02' | ||
version-file: '' | ||
check-latest: true | ||
stable: false | ||
|
@@ -112,33 +104,28 @@ jobs: | |
git clone https://github.com/vlang/v | ||
cd v | ||
.\make.bat | ||
git clone https://github.com/isaiahpatton/ui iui | ||
.\v.exe install https://github.com/isaiahpatton/ui | ||
.\v.exe symlink | ||
cd iui | ||
git clone https://github.com/isaiahpatton/vide | ||
v -cc gcc -skip-unused -gc boehm -cflags -static vide | ||
- name: Remove excluded | ||
shell: msys2 {0} | ||
run: | | ||
rm -rf .git | ||
cd v | ||
cd iui | ||
cd vide | ||
rm -rf *.v | ||
rm -rf .git | ||
cd .. | ||
cd .. | ||
cd .. | ||
- name: Create archive | ||
shell: msys2 {0} | ||
run: | | ||
cd v | ||
cd iui | ||
cd vide | ||
cd .. | ||
powershell Compress-Archive vide $ZIPNAME | ||
mv $ZIPNAME ../../ | ||
cd .. | ||
mv $ZIPNAME ../ | ||
cd .. | ||
# NB: the powershell Compress-Archive line is from: | ||
# https://superuser.com/a/1336434/194881 | ||
|
@@ -168,7 +155,7 @@ jobs: | |
tag: ${{ steps.split.outputs._2 }} | ||
name: ${{ steps.split.outputs._2 }} | ||
commit: ${{ github.sha }} | ||
draft: false | ||
draft: true | ||
prerelease: false | ||
|
||
publish: | ||
|
@@ -192,11 +179,9 @@ jobs: | |
seperator: / | ||
- name: Get release | ||
id: get_release_info | ||
uses: leahlundqvist/[email protected].1 | ||
uses: bruceadams/[email protected].2 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
tag_name: ${{ steps.split.outputs._2 }} | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
|
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