From 5ec7cf50fc19317666d311fa1770f82db03b0f99 Mon Sep 17 00:00:00 2001 From: chyyran Date: Wed, 17 Jan 2024 21:34:40 -0500 Subject: [PATCH] build: try to fix build for arm --- .github/workflows/build-linux-arm64.yml | 1 + .github/workflows/build.yml | 3 -- .idea/workspace.xml | 61 ++++++++++++------------- 3 files changed, 31 insertions(+), 34 deletions(-) diff --git a/.github/workflows/build-linux-arm64.yml b/.github/workflows/build-linux-arm64.yml index 1dc42c18..40b8b0e2 100644 --- a/.github/workflows/build-linux-arm64.yml +++ b/.github/workflows/build-linux-arm64.yml @@ -33,6 +33,7 @@ jobs: - name: Install ARM64 cross-compilation dependencies continue-on-error: true run: | + sudo apt-get update || true sudo dpkg --add-architecture arm64 echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted" | sudo tee -a /etc/apt/sources.list echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted" | sudo tee -a /etc/apt/sources.list diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77b8f0c5..36733b0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,9 +35,6 @@ jobs: with: version: latest cache: true - - if: runner.os == 'Windows' - run: pip install meson ninja mako - name: Install Meson for spirv-to-dxil-sys - name: Build dynamic library run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }} - name: Upload build artifacts diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9b88ff3f..f0849112 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -12,9 +12,7 @@ - - - + - { - "keyToString": { - "Cargo.Build `Test back::wgsl::test::test_into`.executor": "Run", - "Cargo.Build `Test reflect::cross::test::test_into`.executor": "Run", - "Cargo.Test back::wgsl::test::test_into.executor": "Run", - "Cargo.Test front::naga::test::naga_playground (1).executor": "Run", - "Cargo.Test front::naga::test::naga_playground.executor": "Run", - "Cargo.Test reflect::cross::test::test_into.executor": "Run", - "Cargo.Test triangle_wgpu.executor": "Run", - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.RadMigrateCodeStyle": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "RunOnceActivity.cidr.known.project.marker": "true", - "RunOnceActivity.readMode.enableVisualFormatting": "true", - "cf.first.check.clang-format": "false", - "cidr.known.project.marker": "true", - "git-widget-placeholder": "86a88bb2", - "last_opened_file_path": "F:/coding/librashader", - "node.js.detected.package.eslint": "true", - "node.js.detected.package.tslint": "true", - "node.js.selected.package.eslint": "(autodetect)", - "node.js.selected.package.tslint": "(autodetect)", - "nodejs_package_manager_path": "npm", - "org.rust.cargo.project.model.PROJECT_DISCOVERY": "true", - "settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings", - "vue.rearranger.settings.migration": "true" + +}]]> @@ -212,12 +210,12 @@ + - @@ -261,6 +259,7 @@ +