-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into gabor/assert
- Loading branch information
Showing
1,451 changed files
with
337,784 additions
and
9,868 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 @@ | ||
* @dfinity/editorial |
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,47 @@ | ||
name: hosting-photo-storage | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- hosting/photo-storage/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/hosting-photo-storage-example.yml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
hosting-photo-storage-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Hosting Photo Storage Darwin | ||
run: | | ||
pushd hosting/photo-storage | ||
# verify frontend deps install and build | ||
npm install | ||
npm run build | ||
# verify that frontend asset canister deploys | ||
dfx start --background | ||
dfx deploy | ||
popd | ||
hosting-photo-storage-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Hosting Photo Storage Linux | ||
run: | | ||
pushd hosting/photo-storage | ||
# verify frontend deps install and build | ||
npm install | ||
npm run build | ||
# verify that frontend asset canister deploys | ||
dfx start --background | ||
dfx deploy | ||
popd |
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,39 @@ | ||
name: hosting-static-website | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- hosting/static-website/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/hosting-static-website-example.yaml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
hosting-unity-static-website-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Hosting Static Website Darwin | ||
run: | | ||
dfx start --background | ||
pushd hosting/static-website | ||
dfx deploy | ||
popd | ||
hosting-static-website-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Hosting Static Website Linux | ||
run: | | ||
dfx start --background | ||
pushd hosting/static-website | ||
dfx deploy | ||
popd |
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,39 @@ | ||
name: hosting-unity-webgl | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- motoko/unity-webgl-template/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/hosting-unity-webgl-example.yaml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
hosting-unity-webgl-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Hosting Unity Webgl Darwin | ||
run: | | ||
dfx start --background | ||
pushd hosting/unity-webgl-template | ||
dfx deploy | ||
popd | ||
hosting-unity-webgl-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Hosting Unity Webgl Linux | ||
run: | | ||
dfx start --background | ||
pushd hosting/unity-webgl-template | ||
dfx deploy | ||
popd |
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,43 @@ | ||
name: motoko-basic-bitcoin | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- motoko/basic_bitcoin/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/motoko-basic-bitcoin.yaml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
rust-basic-bitcoin-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Motoko Basic Bitcoin Darwin | ||
run: | | ||
dfx start --background | ||
pushd motoko/basic_bitcoin | ||
dfx deploy basic_bitcoin --argument '(variant { regtest })' | ||
popd | ||
rust-basic-bitcoin-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Motoko Basic Bitcoin Linux | ||
run: | | ||
dfx start --background | ||
pushd motoko/basic_bitcoin | ||
dfx deploy basic_bitcoin --argument '(variant { regtest })' | ||
popd |
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,49 @@ | ||
name: motoko-basic-dao | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- motoko/basic_dao/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/motoko-basic-dao-example.yml | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
motoko-dao-darwin: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Motoko DAO Darwin | ||
run: | | ||
dfx start --background | ||
pushd motoko/basic_dao | ||
dfx canister create basic_dao | ||
dfx build | ||
(for f in tests/*.test.sh; do | ||
echo "==== Run test $f ====" | ||
ic-repl -r "http://localhost:$(dfx info webserver-port)" "$f" || exit | ||
done) | ||
popd | ||
motoko-hello-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Motoko DAO Linux | ||
run: | | ||
dfx start --background | ||
pushd motoko/basic_dao | ||
dfx canister create basic_dao | ||
dfx build | ||
(for f in tests/*.test.sh; do | ||
echo "==== Run test $f ====" | ||
ic-repl -r "http://localhost:$(dfx info webserver-port)" "$f" || exit | ||
done) | ||
popd |
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
Oops, something went wrong.