diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1adbc2a..54dcf7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,9 @@ jobs: machine: - rb3g2 - imx8mm + - imx6ull + - imx8mp + - imx8mn runs-on: ubuntu-latest outputs: url: ${{ steps.printtrigger.outputs.url }} @@ -26,6 +29,61 @@ jobs: id: printtrigger run: | echo "Triggered by ${{github.event_name}}" + for i in {1..10} + do + echo "hello world ${1}" > "${{matrix.machine}}-${i}.txt" + done + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-1.txt" + path: "${{matrix.machine}}-1.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-2.txt" + path: "${{matrix.machine}}-2.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-3.txt" + path: "${{matrix.machine}}-3.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-4.txt" + path: "${{matrix.machine}}-4.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-5.txt" + path: "${{matrix.machine}}-5.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-6.txt" + path: "${{matrix.machine}}-6.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-7.txt" + path: "${{matrix.machine}}-7.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-8.txt" + path: "${{matrix.machine}}-8.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-9.txt" + path: "${{matrix.machine}}-9.txt" + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: "${{matrix.machine}}-10.txt" + path: "${{matrix.machine}}-10.txt" + save-build-url: needs: print-trigger runs-on: ubuntu-latest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0370c16..03afb2f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -59,7 +59,7 @@ jobs: - name: Submit ${{ matrix.target }} timeout-minutes: 20 - uses: foundriesio/lava-action@save-job-details + uses: mwasilew/lava-action@improve_colours with: lava_token: ${{ secrets.LAVA_TOKEN }} lava_url: 'lava.infra.foundries.io' diff --git a/lava/rb3g2/wifi.yaml b/lava/rb3g2/wifi.yaml deleted file mode 100644 index 107af08..0000000 --- a/lava/rb3g2/wifi.yaml +++ /dev/null @@ -1,82 +0,0 @@ -actions: -- deploy: - images: - image: - headers: - Authentication: Q_GITHUB_TOKEN - url: "https://quic-yocto-fileserver-1029608027416.us-central1.run.app/qualcomm-linux/meta-qcom/15574355116-1/qcs6490-rb3gen2-core-kit/core-image-base-qcs6490-rb3gen2-core-kit.rootfs.qcomflash.tar.gz" - postprocess: - docker: - image: ghcr.io/foundriesio/lava-lmp-sign:main - steps: - - export IMAGE_PATH=$PWD - - cp overlay*.tar.gz overlay.tar.gz - - echo "OVERLAY=overlay.tar.gz" >> $IMAGE_PATH/flash.settings - - echo "OVERLAY_PATH=/home/" >> $IMAGE_PATH/flash.settings - - echo "DEVICE_TYPE=qcs6490-rb3gen2" >> $IMAGE_PATH/flash.settings - - cat $IMAGE_PATH/flash.settings - timeout: - minutes: 5 - to: downloads -- deploy: - images: - image: - url: downloads://core-image-base-qcs6490-rb3gen2-core-kit.rootfs.qcomflash.tar.gz - settings: - url: downloads://flash.settings - overlay: - url: downloads://overlay.tar.gz - timeout: - minutes: 5 - to: flasher -- boot: - auto_login: - login_prompt: 'login:' - username: root - method: minimal - prompts: - - root@qcs6490-rb3gen2-core-kit - timeout: - minutes: 3 -- command: - name: network_turn_on - -- test: - definitions: - - from: git - name: wlan-smoke - parameters: - DEVICE: 'wlx00037f12aeae' - path: automated/linux/wlan-smoke/wlan-smoke.yaml - repository: http://github.com/linaro/test-definitions.git - - from: git - name: wlan-download - parameters: - DEVICE: 'wlx00037f12aeae' - ETHERNET_DEVICE: '' - FILE_CHECKSUM: 8388f7232b400bdc80279668847f90da - FILE_URL: http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso - SSID_NAME: "{{ AP_NAME }}" - SSID_PASSWORD: "{{ AP_PASSWORD }}" - TIME_DELAY: 120s - path: automated/linux/wlan-download/wlan-download.yaml - repository: http://github.com/linaro/test-definitions.git - timeout: - minutes: 10 -context: - lava_test_results_dir: /home/lava-%s - test_character_delay: 10 -device_type: qcs6490-rb3gen2-core-kit -job_name: wifi test (qcs6490-rb3gen2-core-kit) 12591501185 -metadata: - downloads-url: "{{ DOWNLOADS_URL }}" -priority: 50 -tags: -- cambridge-lab -- wlan-test -timeouts: - job: - minutes: 15 -visibility: personal - -