Skip to content

Commit

Permalink
try to build it without the container
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Apr 8, 2024
1 parent ace12e1 commit 2928f3f
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/publish-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: Publish templates


on:
# push: # For testing locally, to be removed.
push: # For testing locally, to be removed.
# A manual dispatch for now - automatic on releases later.
workflow_dispatch:
inputs:
Expand All @@ -27,8 +27,6 @@ on:
jobs:
publish-templates:
runs-on: ubuntu-latest
container:
image: docker.io/paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240109
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -134,28 +132,13 @@ jobs:

# 3. Verify the build. Push the changes or create a PR.

# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
with:
android: true # This alone is a 12 GB save.
# We disable the rest because it caused some problems. (they're enabled by default)
# The Android removal is enough.
dotnet: false
haskell: false
large-packages: false
swap-storage: false

- name: Check if it compiles
id: check-compilation
run: |
set -e
# Uncomment later.
# cargo build
# cargo test
# Run anything instead, to generate Cargo.lock
cargo tree --depth 1
Uncomment later.
cargo build
cargo test
working-directory: "${{ env.template-path }}"
timeout-minutes: 90
- name: Create PR on failure
Expand Down

0 comments on commit 2928f3f

Please sign in to comment.