Skip to content

Commit

Permalink
fix arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
hrl20 committed Jan 3, 2025
1 parent 60de9da commit 2b87041
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,14 @@ jobs:
shell: sh

run: |
cat > run.sh << 'EOF'
mage coverage
mage -v build:LinuxARM64
EOF
chmod +x run.sh
docker build --platform linux/arm64 -t go-arm64 .
docker run --platform linux/arm64 -v `pwd`:/repo --name go-arm64 go-arm64 mage coverage
docker run --platform linux/arm64 -v `pwd`:/repo --name go-arm64 go-arm64 mage -v build:LinuxARM64
docker run --platform linux/arm64 -v `pwd`:/repo --name go-arm64 go-arm64 ./run.sh
- name: Upload Linux ARM64 artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -197,6 +202,14 @@ jobs:
with:
go-version: '1.23'

- name: Download backend dist directory
run: |
mkdir -p dist
ls all-artifacts
ls all-artifacts/*/
ls dist
cp -r all-artifacts/*/* dist/
- name: Check for E2E
id: check-for-e2e
run: |
Expand Down Expand Up @@ -268,6 +281,15 @@ jobs:
path: dist
name: ${{ needs.build.outputs.plugin-id }}-${{ needs.build.outputs.plugin-version }}

- name: Download backend dist directory
run: |
mkdir -p dist
ls all-artifacts
ls all-artifacts/*/
ls dist
cp -r all-artifacts/*/* dist/
- name: Execute permissions on binary
if: needs.build.outputs.has-backend == 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function ConfigEditor(props: Props) {

return (
<>
<InlineField label="DB Path" labelWidth={14} interactive tooltip={'Json field returned to frontend'}>
<InlineField label="DB Path" labelWidth={20} interactive tooltip={'Json field returned to frontend'}>
<Input
id="config-editor-path"
onChange={onPathChange}
Expand All @@ -54,7 +54,7 @@ export function ConfigEditor(props: Props) {
width={40}
/>
</InlineField>
<InlineField label="MotherDuck Token" labelWidth={14} interactive tooltip={'Secure json field (backend only)'}>
<InlineField label="MotherDuck Token" labelWidth={20} interactive tooltip={'Secure json field (backend only)'}>
<SecretInput
required
id="config-editor-md-token"
Expand Down

0 comments on commit 2b87041

Please sign in to comment.