|
@@ -49,9 +49,11 @@ jobs:
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/checkout@v1
|
|
- name: (Linux) Download LLVM
|
|
- name: (Linux) Download LLVM
|
|
- run: sudo apt-get install llvm
|
|
|
|
|
|
+ run: sudo apt-get install llvm-11 clang-11 llvm
|
|
- name: build odin
|
|
- name: build odin
|
|
run: make nightly
|
|
run: make nightly
|
|
|
|
+ - name: Odin run -llvm-api
|
|
|
|
+ run: ./odin run examples/demo/demo.odin -llvm-api
|
|
- name: Odin run
|
|
- name: Odin run
|
|
run: ./odin run examples/demo/demo.odin
|
|
run: ./odin run examples/demo/demo.odin
|
|
- name: Copy artifacts
|
|
- name: Copy artifacts
|
|
@@ -78,6 +80,8 @@ jobs:
|
|
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV
|
|
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV
|
|
- name: build odin
|
|
- name: build odin
|
|
run: make nightly
|
|
run: make nightly
|
|
|
|
+ - name: Odin run -llvm-api
|
|
|
|
+ run: ./odin run examples/demo/demo.odin -llvm-api
|
|
- name: Odin run
|
|
- name: Odin run
|
|
run: ./odin run examples/demo/demo.odin
|
|
run: ./odin run examples/demo/demo.odin
|
|
- name: Copy artifacts
|
|
- name: Copy artifacts
|
|
@@ -100,26 +104,26 @@ jobs:
|
|
- uses: actions/setup-python@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
with:
|
|
python-version: '3.x'
|
|
python-version: '3.x'
|
|
-
|
|
|
|
|
|
+
|
|
- name: Install B2 CLI
|
|
- name: Install B2 CLI
|
|
shell: bash
|
|
shell: bash
|
|
run: |
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --upgrade pip
|
|
pip install --upgrade b2
|
|
pip install --upgrade b2
|
|
-
|
|
|
|
|
|
+
|
|
- name: Display Python version
|
|
- name: Display Python version
|
|
run: python -c "import sys; print(sys.version)"
|
|
run: python -c "import sys; print(sys.version)"
|
|
-
|
|
|
|
|
|
+
|
|
- name: Download Windows artifacts
|
|
- name: Download Windows artifacts
|
|
uses: actions/download-artifact@v1
|
|
uses: actions/download-artifact@v1
|
|
with:
|
|
with:
|
|
name: windows_artifacts
|
|
name: windows_artifacts
|
|
-
|
|
|
|
|
|
+
|
|
- name: Download Ubuntu artifacts
|
|
- name: Download Ubuntu artifacts
|
|
uses: actions/download-artifact@v1
|
|
uses: actions/download-artifact@v1
|
|
with:
|
|
with:
|
|
name: ubuntu_artifacts
|
|
name: ubuntu_artifacts
|
|
-
|
|
|
|
|
|
+
|
|
- name: Download macOS artifacts
|
|
- name: Download macOS artifacts
|
|
uses: actions/download-artifact@v1
|
|
uses: actions/download-artifact@v1
|
|
with:
|
|
with:
|