{"id":19293508,"url":"https://github.com/reloaded-project/devops-rust-test-in-wine","last_synced_at":"2026-02-23T12:50:40.873Z","repository":{"id":245046944,"uuid":"816633413","full_name":"Reloaded-Project/devops-rust-test-in-wine","owner":"Reloaded-Project","description":"GitHub Action for testing a Rust project inside Wine on Linux","archived":false,"fork":false,"pushed_at":"2024-06-19T03:12:10.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T00:41:34.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Reloaded-Project.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T05:59:26.000Z","updated_at":"2024-06-19T03:12:09.000Z","dependencies_parsed_at":"2024-06-19T10:33:07.499Z","dependency_job_id":"6e76371a-8bb6-4bb2-90bf-dd16d0e6405f","html_url":"https://github.com/Reloaded-Project/devops-rust-test-in-wine","commit_stats":null,"previous_names":["reloaded-project/devops-rust-test-in-wine"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Reloaded-Project/devops-rust-test-in-wine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reloaded-Project%2Fdevops-rust-test-in-wine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reloaded-Project%2Fdevops-rust-test-in-wine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reloaded-Project%2Fdevops-rust-test-in-wine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reloaded-Project%2Fdevops-rust-test-in-wine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Reloaded-Project","download_url":"https://codeload.github.com/Reloaded-Project/devops-rust-test-in-wine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reloaded-Project%2Fdevops-rust-test-in-wine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T22:35:15.197Z","updated_at":"2026-02-23T12:50:40.868Z","avatar_url":"https://github.com/Reloaded-Project.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Reloaded-Project/devops-rust-test-in-wine\" target=\"_blank\"\u003e\n    \u003cimg src=\"assets/reloaded-logo.png\" alt=\"Reloaded Logo\" width=\"100\"/\u003e\n  \u003c/a\u003e\n\n  \u003ch1 align=\"center\"\u003eReloaded Test Rust on Wine Action\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n[Deprecated for `devops-rust-test-in-latest-wine` which has more features](https://github.com/Reloaded-Project/devops-rust-test-in-latest-wine)\n\nThis GitHub Action allows you to run Rust tests for a single target in a Wine environment.\n\nIt provides a convenient way to test your Rust package on Windows targets using the Wine compatibility layer.\n\n## Purpose\n\nMany components of Reloaded3 that enable modding touch low-level components of the Windows OS.\n\nTherefore, I actively test our libraries against Wine to ensure that our code works equally well on\nLinux. Thanks to this, several inconsistencies and bugs have already been found and fixed.\n\n## Features\n\n- Test Rust packages on Windows targets using Wine\n- Support for different Rust toolchains (stable, beta, nightly)\n- Caching of Rust dependencies for faster builds\n- Customizable build and test flags\n- Easy integration into your GitHub Actions workflow\n\n## Usage\n\nTo use this action in your GitHub Actions workflow, you can add the following step:\n\n```yaml\nsteps:\n  - name: Test on Wine\n    uses: Reloaded-Project/devops-rust-test-in-wine@v1\n    with:\n      target: i686-pc-windows-gnu\n      rust-toolchain: stable\n      extra-build-flags: --features=\"feature1 feature2\"\n```\n\n### Inputs\n\nThe action supports the following inputs:\n\n- `rust-project-path` (optional): Path to the Rust project. Default: `.`\n- `rust-toolchain` (required): Rust toolchain to use (stable, beta, nightly). Default: `stable`\n- `target` (required): The target platform for the Rust compiler.\n    - Targets that use Wine: `i686-pc-windows-gnu`, `x86_64-pc-windows-gnu`\n- `extra-test-flags` (optional): Extra flags to pass to the `cross test` command. Default: `''`\n\n## Example Workflow\n\nHere's an example of how you can use this action in your GitHub Actions workflow:\n\n```yaml\nname: Test on Wine\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    \n    steps:\n    - uses: actions/checkout@v4\n      \n    - name: Test on Wine (x86)\n      uses: Reloaded-Project/devops-rust-test-in-wine@v1\n      with:\n        target: i686-pc-windows-gnu\n        \n    - name: Test on Wine (x64)\n      uses: Reloaded-Project/devops-rust-test-in-wine@v1\n      with:\n        target: x86_64-pc-windows-gnu\n```\n\nThis workflow runs the tests on both x86 and x64 Windows targets using different\nRust toolchains and custom build/test flags.\n\nThis action should be ran from one of the Linux runners, e.g. `ubuntu-latest`.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Contributing\n\nContributions are welcome! If you have any suggestions, bug reports, or feature requests,\nplease open an issue or submit a pull request.\n\n## Acknowledgements\n\nThis action was inspired by the need to easily test Rust packages on Windows targets using\nGitHub Actions. It builds upon the excellent work of the Rust and Wine communities.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freloaded-project%2Fdevops-rust-test-in-wine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freloaded-project%2Fdevops-rust-test-in-wine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freloaded-project%2Fdevops-rust-test-in-wine/lists"}