Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-b committed Jan 3, 2024
1 parent e7dbfa8 commit 86ea873
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,54 +36,54 @@ concurrency:
cancel-in-progress: true
jobs:

BuildInstaller:
name: 🏗 Build ${{ matrix.kind }} installer
strategy:
matrix:
kind:
# the normal installer
- user
# This installer is *only* intended for developer internal use!
- dev
runs-on: [ self-hosted, Windows, Certificate ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0 # load all commits
- name: Initial repo config
run: tools/initial-repo-config.sh
- name: Create installer
run: tools/create-installer.sh ${{ fromJSON('["", "dev"]')[ matrix.kind == 'dev' ] }}
- name: Sign installer
run: tools/sign-installer.sh -p "${{ secrets.GHA_MIES_CERTIFICATE_PIN }}"
- name: upload artifacts
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: BuildInstaller-${{ matrix.kind }}-assets
path: |
tools/installer/MIES-*.exe
if-no-files-found: error

Linting:
name: 🔎 Linting
runs-on: [ self-hosted, Linux, Docker ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Code Checks
run: tools/check-code.sh
# straight from the documentation, see https://pre-commit.com/#github-actions-example
- name: set PY
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Pre commit
run: tools/pre-commit/run.sh
# BuildInstaller:
# name: 🏗 Build ${{ matrix.kind }} installer
# strategy:
# matrix:
# kind:
# # the normal installer
# - user
# # This installer is *only* intended for developer internal use!
# - dev
# runs-on: [ self-hosted, Windows, Certificate ]
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# with:
# submodules: recursive
# fetch-depth: 0 # load all commits
# - name: Initial repo config
# run: tools/initial-repo-config.sh
# - name: Create installer
# run: tools/create-installer.sh ${{ fromJSON('["", "dev"]')[ matrix.kind == 'dev' ] }}
# - name: Sign installer
# run: tools/sign-installer.sh -p "${{ secrets.GHA_MIES_CERTIFICATE_PIN }}"
# - name: upload artifacts
# uses: actions/upload-artifact@v4
# if: ${{ always() }}
# with:
# name: BuildInstaller-${{ matrix.kind }}-assets
# path: |
# tools/installer/MIES-*.exe
# if-no-files-found: error
#
# Linting:
# name: 🔎 Linting
# runs-on: [ self-hosted, Linux, Docker ]
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Code Checks
# run: tools/check-code.sh
# # straight from the documentation, see https://pre-commit.com/#github-actions-example
# - name: set PY
# run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
# - uses: actions/cache@v3
# with:
# path: ~/.cache/pre-commit
# key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
# - name: Pre commit
# run: tools/pre-commit/run.sh

# CompilationTest:
# name: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-igor-rebase-exec-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
git log --pretty=ref main..
git rebase --abort
git rebase --exec "git log --pretty=ref -n1" \
git rebase --exec "tools/clean_mies_installation.sh ${{ inputs.installer_flags }}" \
--exec "tools/clean_mies_installation.sh ${{ inputs.installer_flags }}" \
--exec "tools/autorun-test.sh -p ${{ inputs.experiment }} -v IP_9_64"
- name: Gather log files and crash dumps
if: always()
Expand Down

0 comments on commit 86ea873

Please sign in to comment.